feat: show video tags

This commit is contained in:
bggRGjQaUbCoE
2024-09-27 18:34:22 +08:00
parent b88cfae8d9
commit f3744c23bc
10 changed files with 100 additions and 9 deletions

View File

@@ -392,4 +392,13 @@ class UserHttp {
return {'status': false, 'msg': res.data['message']};
}
}
static videoTags({required String bvid}) async {
var res = await Request().get(Api.videoTags, data: {'bvid': bvid});
if (res.data['code'] == 0) {
return {'status': true, 'data': res.data['data']};
} else {
return {'status': false};
}
}
}