fix(qzone): thread abstime into like, flag unlike endpoint as unverified
Adversarial review (NEEDS-FIXES) of the like/unlike slice: - Missing abstime: every real dolike impl (QLiker.py, CSDN) sends the target feed's post time. Threaded abstime through setQzoneLike → QzoneApi.like → like_qzone/unlike_qzone actions (optional, default 0; pass the feed's real time for reliability). Test asserts it. - internal_unlike_app is the conventional paired CGI but NO public bot impl exercises unlike, so it's best-guess. Labeled UNVERIFIED/pending a live capture in the helper comment, the unlike action summary, and the unlike test — instead of pinning it as confirmed truth (avoiding the re-codify-a-wrong-constant trap the last 3 slices hit). - Documented the success-signal (code/subcode) as extrapolated from sibling CGIs (dolike may use a succ/fail token instead). The confirmed mechanics (dolike CGI, opuin=liker, unikey/curkey mood shape, appid=311, fid=tid) are noted as such.
This commit is contained in:
6 files changed
+87
-24
No files matched your search
@@ -3405,6 +3405,17 @@ export const ACTIONS: CatalogAction[] = [
|
||||
"minimum": 1
|
||||
},
|
||||
"desc": "说说所属 QQ 号,省略则为机器人自己"
|
||||
},
|
||||
{
|
||||
"name": "abstime",
|
||||
"type": "int",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"desc": "说说发表时间(unix 秒),传真实值更可靠",
|
||||
"default": 0
|
||||
}
|
||||
],
|
||||
"invariants": [],
|
||||
@@ -3420,6 +3431,12 @@ export const ACTIONS: CatalogAction[] = [
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"description": "说说所属 QQ 号,省略则为机器人自己"
|
||||
},
|
||||
"abstime": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"description": "说说发表时间(unix 秒),传真实值更可靠",
|
||||
"default": 0
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -6421,7 +6438,7 @@ export const ACTIONS: CatalogAction[] = [
|
||||
{
|
||||
"name": "unlike_qzone",
|
||||
"aliases": [],
|
||||
"summary": "取消对一条说说的点赞(QQ 空间)",
|
||||
"summary": "取消对一条说说的点赞(QQ 空间;取消赞端点待真机核实)",
|
||||
"readOnly": false,
|
||||
"params": [
|
||||
{
|
||||
@@ -6443,6 +6460,17 @@ export const ACTIONS: CatalogAction[] = [
|
||||
"minimum": 1
|
||||
},
|
||||
"desc": "说说所属 QQ 号,省略则为机器人自己"
|
||||
},
|
||||
{
|
||||
"name": "abstime",
|
||||
"type": "int",
|
||||
"required": false,
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"desc": "说说发表时间(unix 秒),传真实值更可靠",
|
||||
"default": 0
|
||||
}
|
||||
],
|
||||
"invariants": [],
|
||||
@@ -6458,6 +6486,12 @@ export const ACTIONS: CatalogAction[] = [
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"description": "说说所属 QQ 号,省略则为机器人自己"
|
||||
},
|
||||
"abstime": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"description": "说说发表时间(unix 秒),传真实值更可靠",
|
||||
"default": 0
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
||||
Reference in new issue
Block a user