|
|
@@ -657,7 +657,10 @@ class OrderService extends BaseService
|
|
|
|
|
|
if ($isPurchase) {
|
|
|
//微信通知新订单
|
|
|
- WxMessageClass::newOrderInform($shop, $order);
|
|
|
+ $noNeedWxNotice = isset(Yii::$app->params['noNeedWxNotice']) ? Yii::$app->params['noNeedWxNotice'] : 0;
|
|
|
+ if ($noNeedWxNotice == 0) {
|
|
|
+ WxMessageClass::newOrderInform($shop, $order);
|
|
|
+ }
|
|
|
|
|
|
//语音播放新订单
|
|
|
$ghsShopAdminIds = \bizGhs\shop\classes\ShopAdminClass::getRemindAdminIdsByShopId($currentShopId);
|