|
|
@@ -440,7 +440,10 @@ class PurchaseController extends BaseController
|
|
|
$shop = ShopClass::getById($shopId, true);
|
|
|
if (!empty($shop)) {
|
|
|
//微信通知供货商
|
|
|
- WxMessageClass::ghsHasNewOrderInform($shop, $order);
|
|
|
+ //WxMessageClass::ghsHasNewOrderInform($shop, $order);
|
|
|
+ $noticeText = json_encode(['orderId' => $saleId]);
|
|
|
+ $noticeKey = "hdCgNoticeGhs";
|
|
|
+ Yii::$app->redis->executeCommand('LPUSH', [$noticeKey, $noticeText]);
|
|
|
}
|
|
|
//订单生成时唤起在线打印
|
|
|
if (isset($order->needPrint) && $order->needPrint == dict::getDict('needPrint', 'need')) {
|