| | |
| | | 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() + ")"); |
| | | } |