mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-17 23:56:13 +08:00
fix rm top dyn
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user