瀏覽代碼

奖池产出

lizhen_gitee 1 年之前
父節點
當前提交
e594661ad1
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      application/api/controller/Eggnew.php
  2. 1 1
      application/api/controller/Party.php

+ 1 - 0
application/api/controller/Eggnew.php

@@ -175,6 +175,7 @@ class Eggnew extends Api
                 // 保存砸蛋记录
                 $data[] = [
                     "do_no" => $do_no,
+                    "pay_fee" => $k == 0 ? $total_jewel : 0,
                     "party_id" => $party_id,
                     "user_id" => $user_id,
                     "gift_id" => $v["gift_id"],

+ 1 - 1
application/api/controller/Party.php

@@ -1588,7 +1588,7 @@ class Party extends Common
                 $this->error(__('Operation frequently'));
             }
         }else{
-            if (!$this->apiLimit(1, 1000)) {
+            if (!$this->apiLimit(10, 1000)) {
                 $this->error(__('Operation frequently'));
             }
         }