We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc6be39 commit 9160874Copy full SHA for 9160874
lib/logic/network/interceptor.dart
@@ -143,7 +143,7 @@ class ApiInterceptor extends Interceptor {
143
case DioExceptionType.badCertificate:
144
return '证书有误!';
145
case DioExceptionType.badResponse:
146
- return '服务器异常,请稍后重试!';
+ return error.response?.statusCode == 302 ? '请输入短信验证码' : '服务器异常,请稍后重试!';
147
case DioExceptionType.cancel:
148
return '请求已被取消,请重新请求';
149
case DioExceptionType.connectionError:
0 commit comments