feat(onebot): TierB ① — get_group_signed_list via qun.qq.com web API
Group sign-in (打卡) list is NapCat's one kernel-free item here: it's a plain HTTP POST to qun.qq.com/v2/signin/trpc/GetDaySignedList with g_tk from p_skey, not OIDB. SnowLuma already has the cookie/bkn infra (same as group notice/essence/honor), so this is a straight port — no RE. - protocol/web/group-signin.ts: getDaySignedListWebAPI + pure mapDaySignedList (de-skews signInRank via (r-1)/2+1, [] when no page). - core WebApi.getSignedList(groupId) wires the qun.qq.com cookie jar. - onebot get_group_signed_list groupAction (readOnly), [] on no sign-ins. - Tests pin the rank/field transform and the action wiring.
This commit is contained in:
6 files changed
+183
No files matched your search
@@ -371,6 +371,10 @@
|
||||
"types": "./src/web/group-notice.ts",
|
||||
"default": "./src/web/group-notice.ts"
|
||||
},
|
||||
"./web/group-signin": {
|
||||
"types": "./src/web/group-signin.ts",
|
||||
"default": "./src/web/group-signin.ts"
|
||||
},
|
||||
"./web/request-util": {
|
||||
"types": "./src/web/request-util.ts",
|
||||
"default": "./src/web/request-util.ts"
|
||||
|
||||
Reference in new issue
Block a user