allen 3 жил өмнө
parent
commit
a03a26463a

+ 1 - 1
app/index/controller/Index.php

@@ -495,7 +495,7 @@ class Index extends Controller
         $gifts = Db::table('awards_gift')->where('type', 1)->select();
         $gifts = Db::table('awards_gift')->where('type', 1)->select();
         $logCount = Db::table('awards_user_task_log')->distinct('uid')->count('id');
         $logCount = Db::table('awards_user_task_log')->distinct('uid')->count('id');
 
 
-        $limit = 2;
+        $limit = 5000;
         $userRate = rand(0, $limit);
         $userRate = rand(0, $limit);
         $giftId = 0;
         $giftId = 0;
         foreach ($gifts as $gift) {
         foreach ($gifts as $gift) {