opt: sponsor block

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-12 14:16:54 +08:00
parent 60bdf07684
commit 81c88451bf
5 changed files with 99 additions and 14 deletions

View File

@@ -189,7 +189,7 @@ class Request {
/*
* get请求
*/
Future get(url, {data, options, cancelToken, extra}) async {
Future<Response> get(url, {data, options, cancelToken, extra}) async {
Response response;
if (extra != null) {
if (extra['ua'] != null) {

View File

@@ -80,7 +80,7 @@ class LoginHttp {
'data': CaptchaDataModel.fromJson(res.data['data']),
};
} else {
return {'status': false, 'data': res.message};
return {'status': false, 'data': res.data['message']};
}
}