fix rm top dyn

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-08 17:03:05 +08:00
parent 5ff6ef8801
commit e3337f1e7c
4 changed files with 24 additions and 10 deletions

View File

@@ -273,6 +273,25 @@ class DynamicsHttp {
}
}
static Future rmTop({
required dynamic dynamicId,
}) async {
var res = await Request().post(
Api.rmTopDyn,
queryParameters: {
'csrf': Accounts.main.csrf,
},
data: {
'dyn_str': dynamicId,
},
);
if (res.data['code'] == 0) {
return {'status': true};
} else {
return {'status': false, 'msg': res.data['message']};
}
}
static Future articleInfo({
required dynamic cvId,
}) async {