Kirin há 4 anos atrás
pai
commit
41841af374
1 ficheiros alterados com 9 adições e 1 exclusões
  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',
             'type' => 'BuySomeProduct',
             'name' => '购买ID为{$num}的商品',
             'name' => '购买ID为{$num}的商品',
             'real_name' => '购买商品',
             'real_name' => '购买商品',
-            'max_number' => 0,
+            'max_number' => 1000000,
             'min_number' => 0,
             'min_number' => 0,
             'unit' => '号'
             'unit' => '号'
         ],
         ],
+        [
+            'type' => 'BuySomeProductNum',
+            'name' => '购买ID为的商品{$num}',
+            'real_name' => '购买商品',
+            'max_number' => 1000000,
+            'min_number' => 0,
+            'unit' => '台'
+        ],
     ];
     ];
 
 
     public function profile()
     public function profile()