修改老版本无法登录的问题

This commit is contained in:
jyuesong
2022-01-21 10:30:57 +08:00
parent 2932ad3a64
commit abc6130940
7 changed files with 152 additions and 119 deletions

View File

@@ -24,7 +24,18 @@ class Api {
},
);
}
static Future<HttpResponse<LoginBean>> loginOld(
String userName,
String passWord,
) async {
return await Http.post<LoginBean>(
Url.loginOld,
{
"username": userName,
"password": passWord,
},
);
}
static Future<HttpResponse<LoginBean>> loginTwo(
String userName,
String passWord,