|
@@ -2,6 +2,7 @@
|
|
|
|
|
|
|
|
namespace biz\sj\services;
|
|
namespace biz\sj\services;
|
|
|
|
|
|
|
|
|
|
+use biz\shop\classes\ShopExtClass;
|
|
|
use biz\sj\classes\SjClass;
|
|
use biz\sj\classes\SjClass;
|
|
|
use biz\wx\classes\WxMessageClass;
|
|
use biz\wx\classes\WxMessageClass;
|
|
|
use bizGhs\custom\services\CustomService;
|
|
use bizGhs\custom\services\CustomService;
|
|
@@ -172,6 +173,10 @@ class MerchantService extends BaseService
|
|
|
];
|
|
];
|
|
|
$shopRespond = \biz\shop\classes\ShopClass::addShop($shopData);
|
|
$shopRespond = \biz\shop\classes\ShopClass::addShop($shopData);
|
|
|
$shopId = $shopRespond->id;
|
|
$shopId = $shopRespond->id;
|
|
|
|
|
+ $extData = [
|
|
|
|
|
+ 'shopId' => $shopId,
|
|
|
|
|
+ ];
|
|
|
|
|
+ ShopExtClass::add($extData);
|
|
|
|
|
|
|
|
//供应商添加客户时暂时先不初始化
|
|
//供应商添加客户时暂时先不初始化
|
|
|
if (isset($applyData['replace']) == false || $applyData['replace'] != 1) {
|
|
if (isset($applyData['replace']) == false || $applyData['replace'] != 1) {
|