|
|
@@ -155,6 +155,10 @@ class MerchantService extends BaseService
|
|
|
$transaction = $connection->beginTransaction();
|
|
|
try {
|
|
|
|
|
|
+ //模板消息
|
|
|
+ xhTMessageService::init($merchant);
|
|
|
+
|
|
|
+
|
|
|
//商品、分类、首页幻灯片、门店图片
|
|
|
|
|
|
//初始化微信菜单
|
|
|
@@ -191,9 +195,6 @@ class MerchantService extends BaseService
|
|
|
AdminClass::addAdmin($adminData);
|
|
|
}
|
|
|
|
|
|
- //模板消息
|
|
|
- xhTMessageService::init($merchant);
|
|
|
-
|
|
|
} catch (Exception $e) {
|
|
|
$transaction->rollBack();
|
|
|
}
|