opt block

Closes #1074

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-21 17:17:11 +08:00
parent 2e5cb324a1
commit 571bdb5eae
4 changed files with 7 additions and 6 deletions

View File

@@ -613,6 +613,13 @@ class VideoHttp {
),
);
if (res.data['code'] == 0) {
if (act == 5) {
// block
Pref.setBlackMid(mid);
} else if (act == 6) {
// unblock
Pref.removeBlackMid(mid);
}
return {'status': true};
} else {
return {'status': false, 'msg': res.data['message']};