Showing
4 changed files
with
6 additions
and
7 deletions
| @@ -11,14 +11,14 @@ if (flutterRoot == null) { | @@ -11,14 +11,14 @@ if (flutterRoot == null) { | ||
| 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") | 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") |
| 12 | } | 12 | } |
| 13 | 13 | ||
| 14 | -def flutterVersionCode = "254" | 14 | +def flutterVersionCode = "255" |
| 15 | if (flutterVersionCode == null) { | 15 | if (flutterVersionCode == null) { |
| 16 | - flutterVersionCode = '254' | 16 | + flutterVersionCode = '255' |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | -def flutterVersionName = "2.5.4" | 19 | +def flutterVersionName = "2.5.5" |
| 20 | if (flutterVersionName == null) { | 20 | if (flutterVersionName == null) { |
| 21 | - flutterVersionName = '2.5.4' | 21 | + flutterVersionName = '2.5.5' |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | apply plugin: 'com.android.application' | 24 | apply plugin: 'com.android.application' |
| @@ -245,7 +245,7 @@ class DioUtil { | @@ -245,7 +245,7 @@ class DioUtil { | ||
| 245 | Loading.hideLoading(context); | 245 | Loading.hideLoading(context); |
| 246 | } | 246 | } |
| 247 | if (error is DioError && error.type == DioErrorType.CONNECT_TIMEOUT) { | 247 | if (error is DioError && error.type == DioErrorType.CONNECT_TIMEOUT) { |
| 248 | -// Utils.showToast("网络链接超时,请稍后重试"); | 248 | + // Utils.showToast("网络链接超时,请稍后重试"); |
| 249 | } | 249 | } |
| 250 | if (error.type != DioErrorType.CANCEL) { | 250 | if (error.type != DioErrorType.CANCEL) { |
| 251 | throw MyError(type: 2); | 251 | throw MyError(type: 2); |
| @@ -173,7 +173,7 @@ class LoginState extends State<LoginPage> with WidgetsBindingObserver { | @@ -173,7 +173,7 @@ class LoginState extends State<LoginPage> with WidgetsBindingObserver { | ||
| 173 | LogUtil.v("access_token:${response.toString()}"); | 173 | LogUtil.v("access_token:${response.toString()}"); |
| 174 | Map<String, dynamic> responseData = json.decode(response.data.toString()); | 174 | Map<String, dynamic> responseData = json.decode(response.data.toString()); |
| 175 | if (responseData["errcode"] != null) { | 175 | if (responseData["errcode"] != null) { |
| 176 | - Utils.showToast(responseData["errmsg"] ?? "登录,请稍后重试"); | 176 | + Utils.showToast(responseData["errmsg"] ?? "登录失败,请稍后重试"); |
| 177 | // Loading.hideLoading(context); | 177 | // Loading.hideLoading(context); |
| 178 | } else { | 178 | } else { |
| 179 | App.sp.setString("openid", responseData["openid"]); | 179 | App.sp.setString("openid", responseData["openid"]); |
| @@ -94,7 +94,6 @@ class OtherLoginProvider extends ChangeNotifier { | @@ -94,7 +94,6 @@ class OtherLoginProvider extends ChangeNotifier { | ||
| 94 | Utils.showToast(baseResp.msg ?? ""); | 94 | Utils.showToast(baseResp.msg ?? ""); |
| 95 | } | 95 | } |
| 96 | return checkbindPhoneSunModel; | 96 | return checkbindPhoneSunModel; |
| 97 | - ; | ||
| 98 | } | 97 | } |
| 99 | } | 98 | } |
| 100 | } | 99 | } |
-
Please register or login to post a comment