shish vor 2 Jahren
Ursprung
Commit
b510e331de
1 geänderte Dateien mit 7 neuen und 0 gelöschten Zeilen
  1. 7 0
      biz-hd/merchant/services/SjService.php

+ 7 - 0
biz-hd/merchant/services/SjService.php

@@ -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;