|
|
@@ -9,6 +9,7 @@ use biz\shop\classes\ShopCapitalClass;
|
|
|
use biz\shop\classes\ShopClass;
|
|
|
use biz\shop\models\Shop;
|
|
|
use biz\stat\classes\StatOrderCountClass;
|
|
|
+use biz\wx\classes\WxMessageClass;
|
|
|
use bizGhs\stat\classes\StatYjClass;
|
|
|
use bizGhs\ws\services\WsService;
|
|
|
use bizHd\stat\classes\StatIncomeClass;
|
|
|
@@ -272,7 +273,6 @@ class OrderClass extends BaseClass
|
|
|
OrderSendClass::withoutSend($order);
|
|
|
}
|
|
|
} else {
|
|
|
-
|
|
|
//客户下单增加商家可提现余额
|
|
|
if (isset($order->customId) && !empty($order->customId)) {
|
|
|
$amount = $order->actPrice;
|
|
|
@@ -287,15 +287,17 @@ class OrderClass extends BaseClass
|
|
|
}
|
|
|
}
|
|
|
};
|
|
|
-
|
|
|
- //下单通知,来自mall linqh 2021.5.19
|
|
|
+ //来自商城的订单通知 linqh 2021.5.19
|
|
|
if ($order->fromType == dict::getDict("fromType", "mall")) {
|
|
|
$shopIdAdminIds = \bizGhs\shop\classes\ShopAdminClass::getRemindAdminIdsByShopId($shopId);
|
|
|
+ //语音通知
|
|
|
if ($shopIdAdminIds) {
|
|
|
foreach ($shopIdAdminIds as $v) {
|
|
|
WsService::newOrderNotice($v);
|
|
|
}
|
|
|
}
|
|
|
+ //新订单微信通知
|
|
|
+ WxMessageClass::newOrderInform($shop, $order);
|
|
|
}
|
|
|
}
|
|
|
|