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