Browse Source

jwt暂时去掉时间限制

shish 6 months ago
parent
commit
7393917493
1 changed files with 3 additions and 3 deletions
  1. 3 3
      common/components/jwt.php

+ 3 - 3
common/components/jwt.php

@@ -72,9 +72,9 @@ class jwt
 		if ($sourceId != $currentSourceId) {
 			return 0;
 		}
-        if (!$token->validate($data)) {
-            Yii::info('token时间验证没有通过,但还是返回了uniqueId:'.$uniqueId.'。 token:' . $token);
-        }
+//        if (!$token->validate($data)) {
+//            Yii::info('token时间验证没有通过,但还是返回了uniqueId:'.$uniqueId.'。 token:' . $token);
+//        }
 		return $uniqueId;
 	}