allen преди 3 години
родител
ревизия
a03a26463a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/index/controller/Index.php

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

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