|
|
@@ -43,6 +43,7 @@ class ShopController extends BaseController
|
|
|
unset($data['id']);
|
|
|
$shop = ShopService::getById($id);
|
|
|
ShopService::valid($shop, $this->sjId);
|
|
|
+ $data['img'] = isset($data['img']) && is_array($data['img']) ? json_encode($data['img']) : '';
|
|
|
ShopService::updateShop($id, $data);
|
|
|
util::complete();
|
|
|
}
|