牟新芬 4 years ago
parent
commit
3ad13ffd1b
2 changed files with 4 additions and 5 deletions
  1. 1 5
      app/system/controller/v1/Merchant.php
  2. 3 0
      app/system/controller/v1/Product.php

+ 1 - 5
app/system/controller/v1/Merchant.php

@@ -61,11 +61,7 @@ class Merchant extends BaseController
             'main',
             'principal',
             'phone',
-            ['amount', 0],
-            ['issuing', 0],
-            ['packet', 0],
-            ['hot', 0],
-            'advantage'
+            ['amount', 0]
         ]);
         if ($id) {
             $record = MerchantModel::get($id);

+ 3 - 0
app/system/controller/v1/Product.php

@@ -239,6 +239,9 @@ class Product extends BaseController
             ['sales', 0],
             ['sort', 0],
             ['is_show', 0],
+            ['issuing', 0],
+            ['packet', 0],
+            ['is_hot', 0],
             ['is_best', 0],
             ['is_sub', 0],
             ['description', ''],