Kirin 4 anni fa
parent
commit
41841af374
1 ha cambiato i file con 9 aggiunte e 1 eliminazioni
  1. 9 1
      app/admin/model/system/SystemUserTask.php

+ 9 - 1
app/admin/model/system/SystemUserTask.php

@@ -133,10 +133,18 @@ class SystemUserTask extends BaseModel
             'type' => 'BuySomeProduct',
             'name' => '购买ID为{$num}的商品',
             'real_name' => '购买商品',
-            'max_number' => 0,
+            'max_number' => 1000000,
             'min_number' => 0,
             'unit' => '号'
         ],
+        [
+            'type' => 'BuySomeProductNum',
+            'name' => '购买ID为的商品{$num}',
+            'real_name' => '购买商品',
+            'max_number' => 1000000,
+            'min_number' => 0,
+            'unit' => '台'
+        ],
     ];
 
     public function profile()