|
|
@@ -41,7 +41,7 @@ class CustomController extends BaseController
|
|
|
$post['fullAddress'] = $city . $dist . $address . $floor;
|
|
|
$shopId = $custom->shopId ?? 0;
|
|
|
ShopClass::updateById($shopId, $post);
|
|
|
- CustomClass::updateById($id, $post);
|
|
|
+ CustomClass::updateByCondition(['shopId' => $shopId], $post);
|
|
|
util::complete('修改成功');
|
|
|
}
|
|
|
|