shish 11 miesięcy temu
rodzic
commit
13e3ece623
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      app-hd/controllers/ShopController.php

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

@@ -58,6 +58,7 @@ class ShopController extends BaseController
         $fullName = $shop->shopName == '首店' ? $name : $name . ' ' . $shop->shopName;
         $shopId = $shop->id;
         HdClass::updateByCondition(['shopId' => $shopId], ['name' => $fullName]);
+        CustomClass::updateByCondition(['shopId' => $shopId], ['originName' => $fullName]);
         util::complete('修改成功');
     }