shish hace 3 años
padre
commit
0b75a1a144
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      app-hd/controllers/NoticeController.php

+ 4 - 1
app-hd/controllers/NoticeController.php

@@ -301,7 +301,10 @@ class NoticeController extends PublicController
                             $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]);
                             }
                             //花店采购供货商端APP收到通知
                             //NoticeClass::ghsNewOrderNotice($order);