10-12优化补充
This commit is contained in:
@ -111,7 +111,7 @@ public class LoginUtils {
|
||||
public void onFailure(HttpException e) {
|
||||
super.onFailure(e);
|
||||
if (e == null) {
|
||||
Utils.toast(context, "请检查网络是否可用");
|
||||
Utils.toast(context, "无法获取验证码,请检查你的网络状态");
|
||||
return;
|
||||
}
|
||||
try {
|
||||
@ -122,6 +122,8 @@ public class LoginUtils {
|
||||
outputErrorHint(context, code);
|
||||
} catch (Exception e1) {
|
||||
e1.printStackTrace();
|
||||
} finally {
|
||||
Utils.toast(context, "无法获取验证码,请检查你的网络状态");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user