|
...
|
...
|
@@ -173,7 +173,7 @@ class LoginState extends State<LoginPage> with WidgetsBindingObserver { |
|
|
|
LogUtil.v("access_token:${response.toString()}");
|
|
|
|
Map<String, dynamic> responseData = json.decode(response.data.toString());
|
|
|
|
if (responseData["errcode"] != null) {
|
|
|
|
Utils.showToast(responseData["errmsg"] ?? "登录,请稍后重试");
|
|
|
|
Utils.showToast(responseData["errmsg"] ?? "登录失败,请稍后重试");
|
|
|
|
// Loading.hideLoading(context);
|
|
|
|
} else {
|
|
|
|
App.sp.setString("openid", responseData["openid"]);
|
...
|
...
|
|