mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: sponsor block
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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']};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user