mod: 投币状态响应status
This commit is contained in:
@ -148,7 +148,9 @@ class VideoIntroController extends GetxController {
|
||||
// 获取投币状态
|
||||
Future queryHasCoinVideo() async {
|
||||
var result = await VideoHttp.hasCoinVideo(bvid: bvid);
|
||||
hasCoin.value = result["data"]['multiply'] == 0 ? false : true;
|
||||
if (result['status']) {
|
||||
hasCoin.value = result["data"]['multiply'] == 0 ? false : true;
|
||||
}
|
||||
}
|
||||
|
||||
// 获取收藏状态
|
||||
|
Reference in New Issue
Block a user