one_after vor 3 Monaten
Ursprung
Commit
dd14078ca3
1 geänderte Dateien mit 9 neuen und 9 gelöschten Zeilen
  1. 9 9
      app/business/LoginBusiness.php

+ 9 - 9
app/business/LoginBusiness.php

@@ -60,15 +60,15 @@ class LoginBusiness
             }
 
             //同IP注册给他限制五个先
-            $starttime = date('Y-m-d 00:00:00');
-            $endtimr   = date('Y-m-d 23:59:59');
-            $usercount = Db::table('wa_users')
-                ->where('created_at', '>=', $starttime)
-                ->where('created_at', '<=', $endtimr)
-                ->where('join_ip', $param['join_ip'])->count();
-            if ($usercount >= 100) {
-                throw new \Exception('暂不能注册');
-            }
+//            $starttime = date('Y-m-d 00:00:00');
+//            $endtimr   = date('Y-m-d 23:59:59');
+//            $usercount = Db::table('wa_users')
+//                ->where('created_at', '>=', $starttime)
+//                ->where('created_at', '<=', $endtimr)
+//                ->where('join_ip', $param['join_ip'])->count();
+//            if ($usercount >= 100) {
+//                throw new \Exception('暂不能注册');
+//            }
 
             $array_img  = ['/upload/img/20250918/1.png', '/upload/img/20250918/2.png', '/upload/img/20250918/3.png', '/upload/img/20250918/4.png'];
             $array_name = ['WB·ED银行卡', 'WB·HC银行卡', 'WB·AG银行卡', 'WB·IP银行卡'];