Browse Source

不需要有效期了 用完就删了

Tree 2 weeks ago
parent
commit
da6564efa0
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/Models/GamePhoneVerityCode.php

+ 3 - 3
app/Models/GamePhoneVerityCode.php

@@ -83,9 +83,9 @@ class GamePhoneVerityCode extends Model
             }
 
             // 验证码过期
-            if (time() - strtotime($first->CreateDate) > 600) {
-                return 3;
-            }
+//            if (time() - strtotime($first->CreateDate) > 600) {
+//                return 3;
+//            }
 
             \Log::info('timeCheck',[time(),date('Y-m-d H:i:s'),strtotime(date('Y-m-d H:i:s')),'ssstime',$first->CreateDate,strtotime($first->CreateDate)]);