|
@@ -46,7 +46,7 @@ class ShopController extends BaseController
|
|
|
$shop = $this->shop;
|
|
$shop = $this->shop;
|
|
|
$shop->merchantName = $name;
|
|
$shop->merchantName = $name;
|
|
|
$shop->save();
|
|
$shop->save();
|
|
|
- $sj = SjClass::getById($$shop->sjId, true);
|
|
|
|
|
|
|
+ $sj = SjClass::getById($shop->sjId, true);
|
|
|
if (empty($sj)) {
|
|
if (empty($sj)) {
|
|
|
util::fail('门店信息缺失呢');
|
|
util::fail('门店信息缺失呢');
|
|
|
}
|
|
}
|