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) {