shish há 1 mês atrás
pai
commit
76a4454f86

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

@@ -33,7 +33,7 @@ class ShMethodController extends BaseController
      * 获取门店所有的5种配送方式配置
      * 如果数据库里没有,则取默认配置进行初始化
      */
-    public function actionGetAllConfig()
+    public function actionGetAllMethod()
     {
         try {
             $configs = ShMethodClass::getAllConfigs($this->shopId, $this->mainId);

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

@@ -14,7 +14,7 @@ class ShMethodController extends BaseController
      * 获取供货商所有的5种配送方式配置
      * 如果数据库里没有,则取默认配置进行初始化
      */
-    public function actionGetAllConfig()
+    public function actionGetAllMethod()
     {
         $ghsId = Yii::$app->request->get('ghsId', 0);
         $ghs = GhsClass::getById($ghsId);