Browse Source

Merge branch 'master' into dev

shish 11 months ago
parent
commit
ad70f75bc0
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app-ghs/controllers/ShopController.php
  2. 1 1
      app-hd/controllers/ShopController.php

+ 1 - 1
app-ghs/controllers/ShopController.php

@@ -49,7 +49,7 @@ class ShopController extends BaseController
             util::fail('请填写名称');
         }
         $shop = $this->shop;
-        $shop->sjName = $name;
+        $shop->merchantName = $name;
         $shop->save();
         $sjId = $shop->sjId;
         $sj = MerchantClass::getById($sjId, true);

+ 1 - 1
app-hd/controllers/ShopController.php

@@ -46,7 +46,7 @@ class ShopController extends BaseController
             util::fail('请填写名称');
         }
         $shop = $this->shop;
-        $shop->sjName = $name;
+        $shop->merchantName = $name;
         $shop->save();
         $sjId = $shop->sjId;
         $sj = SjClass::getById($sjId, true);