|
|
@@ -34,6 +34,11 @@ class CustomController extends BaseController
|
|
|
if ($custom->ownMainId != $this->mainId) {
|
|
|
util::fail('没有权限修改');
|
|
|
}
|
|
|
+ $city = $post['city'] ?? '';
|
|
|
+ $dist = $post['dist'] ?? '';
|
|
|
+ $address = $post['address'] ?? '';
|
|
|
+ $floor = $post['floor'] ?? '';
|
|
|
+ $post['fullAddress'] = $city . $dist . $address . $floor;
|
|
|
$shopId = $custom->shopId ?? 0;
|
|
|
$where = ['shopId' => $shopId];
|
|
|
ShopClass::updateById($shopId, $post);
|