Skip to content

Commit

Permalink
feat: 新增 超级会员 活动
Browse files Browse the repository at this point in the history
  • Loading branch information
fzls committed Sep 12, 2024
1 parent 34572cf commit a73d2f5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
3 changes: 1 addition & 2 deletions config_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2940,6 +2940,7 @@ class FunctionSwitchesConfigUi(QWidget):
],
"QQ空间pskey": [
("集卡", "get_ark_lottery"),
("超级会员", "get_dnf_super_vip"),
],
}

Expand Down Expand Up @@ -2983,8 +2984,6 @@ class FunctionSwitchesConfigUi(QWidget):
("超级会员", "get_dnf_super_vip"),
],
"QQ空间pskey": [
("集卡", "get_ark_lottery"),
("超级会员", "get_dnf_super_vip"),
("qq会员杯", "get_dnf_club_vip"),
("会员关怀", "get_vip_mentor"),
("黄钻", "get_dnf_yellow_diamond"),
Expand Down
18 changes: 9 additions & 9 deletions djc_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,7 @@ def payed_activities(self) -> list[tuple[str, Callable]]:
("colg其他活动", self.colg_other_act),
("colg每日签到", self.colg_signin),
("集卡", self.dnf_ark_lottery),
("超级会员", self.dnf_super_vip),
]

def expired_activities(self) -> list[tuple[str, Callable]]:
Expand All @@ -690,7 +691,6 @@ def expired_activities(self) -> list[tuple[str, Callable]]:
("勇士的冒险补给", self.maoxian),
("DNF格斗大赛", self.dnf_pk),
("DNF卡妮娜的心愿摇奖机", self.dnf_kanina),
("超级会员", self.dnf_super_vip),
("DNF周年庆登录活动", self.dnf_anniversary),
("DNF落地页活动_ide", self.dnf_luodiye_ide),
("DNF福利中心兑换", self.dnf_welfare),
Expand Down Expand Up @@ -2594,7 +2594,7 @@ def dnf_super_vip(self):
if self.lr is None:
return

lucky_act_id = "108950_c9642198"
lucky_act_id = "116128_ddfdc27f"
self.qzone_act_op("幸运勇士礼包 - 当前角色", lucky_act_id)
self.qzone_act_op(
"幸运勇士礼包 - 集卡幸运角色",
Expand All @@ -2604,13 +2604,13 @@ def dnf_super_vip(self):
),
)

self.qzone_act_op("勇士见面礼", "108951_e97c298f")
self.qzone_act_op("勇士见面礼", "116129_5e48a791")

self.qzone_act_op("签到", "108958_e94aed5e")
self.qzone_act_op("累计签到1天", "108953_be8ca73e")
self.qzone_act_op("累计签到3天", "108954_c68b71b5")
self.qzone_act_op("累计签到7天", "108955_2b7866d9")
self.qzone_act_op("累计签到14天", "108956_aa6e02ba")
self.qzone_act_op("签到", "116134_6d26254f")
self.qzone_act_op("累计签到1天", "116130_5fa5d050")
self.qzone_act_op("累计签到3天", "116131_ed9042f4")
self.qzone_act_op("累计签到7天", "116132_ec305918")
self.qzone_act_op("累计签到14天", "116133_5ffc64db")

# if not self.cfg.function_switches.disable_share and is_first_run(
# f"dnf_super_vip_{get_act_url('超级会员')}_分享_{self.uin()}"
Expand Down Expand Up @@ -8729,6 +8729,6 @@ def fake_djc_helper() -> DjcHelper:
djcHelper.get_bind_role_list()

# djcHelper.dnf_kol()
djcHelper.dnf_ark_lottery()
djcHelper.dnf_super_vip()

pause()
4 changes: 2 additions & 2 deletions urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ def newNotAmsActInfo(dtBeginTime: str, dtEndTime: str, sActivityName: str) -> Am
newNotAmsActInfo("2024-06-13 00:00:00", "2025-01-31 23:59:59", "colg其他活动"),
newNotAmsActInfo("2024-09-12 00:00:00", "2024-10-31 23:59:59", "colg每日签到"),
newNotAmsActInfo("2024-09-12 00:00:00", "2024-10-11 23:59:59", "集卡"),
newNotAmsActInfo("2024-09-12 00:00:00", "2024-10-11 23:59:59", "超级会员"),
#
# 已过期活动
#
newNotAmsActInfo("2024-07-04 11:00:00", "2024-07-24 23:59:59", "WeGame活动"),
newNotAmsActInfo("2024-06-13 00:00:00", "2024-07-25 23:59:59", "勇士的冒险补给"),
newNotAmsActInfo("2024-06-20 00:00:00", "2024-07-10 23:59:59", "DNF格斗大赛"),
newNotAmsActInfo("2024-06-13 00:00:00", "2024-07-10 23:59:59", "DNF卡妮娜的心愿摇奖机"),
newNotAmsActInfo("2024-06-13 00:00:00", "2024-07-12 23:59:59", "超级会员"),
newNotAmsActInfo("2024-06-13 00:00:00", "2024-07-04 23:59:59", "DNF周年庆登录活动"),
newNotAmsActInfo("2024-06-13 09:55:00", "2024-07-12 23:59:59", "DNF落地页活动_ide"),
newNotAmsActInfo("2023-11-16 00:00:00", "2023-12-19 23:59:59", "qq视频蚊子腿-爱玩"),
Expand Down Expand Up @@ -106,14 +106,14 @@ def newNotAmsActInfo(dtBeginTime: str, dtEndTime: str, sActivityName: str) -> Am
"colg其他活动": "https://bbs.colg.cn/forum-171-1.html",
"colg每日签到": "https://bbs.colg.cn/forum-171-1.html",
"集卡": "https://act.qzone.qq.com/v2/vip/tx/p/50965_510d3610",
"超级会员": "https://act.qzone.qq.com/v2/vip/tx/p/50997_88a8aab7",
#
# 已过期活动
#
"WeGame活动": "https://dnf.qq.com/cp/a20240704wegame/index.html",
"勇士的冒险补给": "https://act.xinyue.qq.com/bb/act/a4a4b8cefdc8645299a546567fc1c68ad/index.html",
"DNF格斗大赛": "https://act.xinyue.qq.com/act/a20240613dnfcombat/index.html",
"DNF卡妮娜的心愿摇奖机": "https://dnf.qq.com/cp/a20240613wish/indexm.html",
"超级会员": "https://act.qzone.qq.com/v2/vip/tx/p/50148_928bd0e0",
"DNF周年庆登录活动": "https://dnf.qq.com/cp/a20240613celebration/",
"DNF落地页活动_ide": "https://dnf.qq.com/act/a20240613index/index.html",
"DNF福利中心兑换": "https://dnf.qq.com/cp/a20190312welfare/index.htm",
Expand Down

0 comments on commit a73d2f5

Please sign in to comment.