laowu 2 hete
szülő
commit
b4f2a12b53
1 módosított fájl, 3 hozzáadás és 3 törlés
  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)]);