wjc
8 小时以前 c2a63745716d2114c4d20803822998ca5cdb0b84
app/src/main/java/com/hdl/photovoltaic/ui/LoginActivity.java
@@ -423,13 +423,14 @@
                        if (e.getCode() == 10019) {
                            //用户已经被锁定错误码
                            try {
                                if (e.getmExtra() != null) {
                                    if (System.currentTimeMillis() < e.getmExtra().getUnlockTime()) {
                                        long time = e.getmExtra().getUnlockTime() - System.currentTimeMillis();
                                        int minute = Integer.parseInt(TimeUtils.getMinuteTime(time));
                                        HdlThreadLogic.toast(_mActivity, e.getMsg() + getString(R.string.residue) + minute + getString(R.string.minute) + "(" + e.getCode() + ")");
                                    }
                                }
//                                if (e.getmExtra() != null) {
//                                    if (System.currentTimeMillis() < e.getmExtra().getUnlockTime()) {
//                                        long time = e.getmExtra().getUnlockTime() - System.currentTimeMillis();
//                                        int minute = Integer.parseInt(TimeUtils.getMinuteTime(time));
//                                        HdlThreadLogic.toast(_mActivity, e.getMsg() + getString(R.string.residue) + minute + getString(R.string.minute) + "(" + e.getCode() + ")");
//                                    }
//                                }
                                HdlThreadLogic.toast(_mActivity, e.getMsg());
                            } catch (Exception ee) {
                                HdlThreadLogic.toast(_mActivity, e.getMsg() + "(" + e.getCode() + ")");
                            }