10-12优化补充

This commit is contained in:
kehaoyuan
2017-10-12 09:57:36 +08:00
parent b1384375a3
commit 3199bc6118

View File

@ -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, "无法获取验证码,请检查你的网络状态");
}
}
});