|
|
@@ -12,6 +12,9 @@ public class TimeUtils {
|
|
|
|
|
|
public static Boolean checkOverTime(String s) {
|
|
|
Boolean flag = false;
|
|
|
+ if (TokenManager.getSession().getAttribute(VerifyCodeUtils.M_CODE_TIME) ==null) {
|
|
|
+ flag = true;
|
|
|
+ }
|
|
|
if ("getMCode".equals(s)) {
|
|
|
if (System.currentTimeMillis()
|
|
|
- (Long) TokenManager.getSession().getAttribute(VerifyCodeUtils.M_CODE_TIME) > 60000) {
|