|
|
@@ -105,6 +105,12 @@ class SjService extends BaseService
|
|
|
|
|
|
SjInitClass::add(['sjId' => $sjId]);
|
|
|
|
|
|
+ $onlyCg = 1;
|
|
|
+ //为了审核通过,北京市的注册,直接显示全部内容
|
|
|
+ if (isset($applyData['province']) && $applyData['province'] == '北京市') {
|
|
|
+ $onlyCg = 0;
|
|
|
+ }
|
|
|
+
|
|
|
//创建门店
|
|
|
$shopData = [
|
|
|
'shopName' => '首店',
|
|
|
@@ -131,6 +137,7 @@ class SjService extends BaseService
|
|
|
'img' => ['/example/shop/1.jpg'],
|
|
|
'ptStyle' => $ptStyle,
|
|
|
'live' => $live,
|
|
|
+ 'onlyCg' => $onlyCg,
|
|
|
];
|
|
|
$shopInfo = ShopClass::addShop($shopData);
|
|
|
$shopId = $shopInfo->id;
|