* fix dislikeVideo

* fix profile update

* show login toast
This commit is contained in:
My-Responsitories
2025-03-23 12:06:34 +08:00
committed by GitHub
parent b15fdfa2ff
commit 066f3d4132
2 changed files with 9 additions and 0 deletions

View File

@@ -519,6 +519,7 @@ class VideoHttp {
'aid': IdUtils.bv2av(bvid).toString(),
'dislike': type ? '0' : '1',
},
options: Options(contentType: Headers.formUrlEncodedContentType),
);
if (res.data is! String && res.data['code'] == 0) {
return {'status': true};