shish 8 ماه پیش
والد
کامیت
cdf3586857
1فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  1. 4 3
      app-ghs/controllers/OrderController.php

+ 4 - 3
app-ghs/controllers/OrderController.php

@@ -1305,6 +1305,7 @@ class OrderController extends BaseController
                 $shop = ShopClass::getById($shopId, true);
                 if (isset($order->payStatus) && $order->payStatus == 1) {
                     if (!empty($shop)) {
+/*
                         //通知员工
                         $noticeText = json_encode(['orderId' => $saleId]);
                         $noticeKey = "hdCgNoticeGhs";
@@ -1330,9 +1331,9 @@ class OrderController extends BaseController
                         ];
                         $push = new push('hd', push::MSG_TYPE_ORDER);
                         $push->pushByCloud($cids, $title, $content, $payload);
-
-                        //GhsNotifyClass::newOrderNotify($saleId);
-                        //HdNotifyClass::newCgNotify($order->purchaseId);
+*/
+                        GhsNotifyClass::newOrderNotify($saleId);
+                        HdNotifyClass::newCgNotify($order->purchaseId);
 
                     }
                 }