|
|
@@ -2,6 +2,7 @@
|
|
|
|
|
|
namespace bizGhs\apply\services;
|
|
|
|
|
|
+use biz\cp\services\PtCpService;
|
|
|
use biz\shop\classes\ShopClass;
|
|
|
use bizGhs\apply\classes\ApplyClass;
|
|
|
use bizGhs\merchant\services\MerchantService;
|
|
|
@@ -47,6 +48,8 @@ class ApplyService extends BaseService
|
|
|
$apply['name'] = isset($apply['name']) ? $apply['name'] : '';
|
|
|
//初始化或更新花材
|
|
|
MainClass::addMainInitItem($main, $live);
|
|
|
+ //初始化或更新产品
|
|
|
+ PtCpService::initMainCp($main);
|
|
|
$respond = MerchantService::initGhsBaseInfo($apply, $main, true);
|
|
|
$pfShop = $respond['shop'] ?? [];
|
|
|
|