shish 5 lat temu
rodzic
commit
40aa69454a
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      biz/sj/services/MerchantService.php

+ 2 - 2
biz/sj/services/MerchantService.php

@@ -149,7 +149,7 @@ class MerchantService extends BaseService
         GoodsSettingClass::add($setData);
 
         //创建门店
-        $imgArr = ['/example/shop/1.jpg'];
+
         $shopData = [
             'shopName' => '总店',
             'sjId' => $sjId,
@@ -167,7 +167,7 @@ class MerchantService extends BaseService
             'fullAddress' => $applyData['fullAddress'] ?? '',
             'lat' => $applyData['lat'] ?? '',
             'long' => $applyData['long'] ?? '',
-            'img' => json_encode($imgArr),
+            'img' => ['/example/shop/1.jpg'],
             'ptStyle' => $ptStyle,
         ];
         $shopRespond = \biz\shop\classes\ShopClass::addShop($shopData);