|
|
@@ -21,6 +21,7 @@ use biz\wx\classes\WxMessageClass;
|
|
|
use bizGhs\order\classes\OrderClass;
|
|
|
use biz\shop\classes\ShopExtClass;
|
|
|
use common\components\lakala\Lakala;
|
|
|
+use common\components\push;
|
|
|
|
|
|
class NoticeController extends PublicController
|
|
|
{
|
|
|
@@ -247,7 +248,7 @@ class NoticeController extends PublicController
|
|
|
"page" => "pagesOrder/detail",
|
|
|
"params" => ["id" => $order->id]
|
|
|
];
|
|
|
- $push = new \common\components\push('ghs');
|
|
|
+ $push = new push('ghs', push::MSG_TYPE_ORDER);
|
|
|
$push->pushByCloud($cids, $title, $content, $payload);
|
|
|
}
|
|
|
//花店采购供货商端APP收到通知
|
|
|
@@ -486,7 +487,7 @@ class NoticeController extends PublicController
|
|
|
"page" => "pagesOrder/detail",
|
|
|
"params" => ["id" => $order->id]
|
|
|
];
|
|
|
- $push = new \common\components\push('ghs');
|
|
|
+ $push = new push('ghs', push::MSG_TYPE_ORDER);
|
|
|
$push->pushByCloud($cids, $title, $content, $payload);
|
|
|
}
|
|
|
//花店采购供货商端APP收到通知
|
|
|
@@ -629,7 +630,7 @@ class NoticeController extends PublicController
|
|
|
"page" => "pagesOrder/detail",
|
|
|
"params" => ["id" => $order->id]
|
|
|
];
|
|
|
- $push = new \common\components\push('ghs');
|
|
|
+ $push = new push('ghs', push::MSG_TYPE_ORDER);
|
|
|
$push->pushByCloud($cids, $title, $content, $payload);
|
|
|
}
|
|
|
//花店采购供货商端APP收到通知
|
|
|
@@ -879,7 +880,7 @@ class NoticeController extends PublicController
|
|
|
"page" => "pagesOrder/detail",
|
|
|
"params" => ["id" => $order->id]
|
|
|
];
|
|
|
- $push = new \common\components\push('ghs');
|
|
|
+ $push = new push('ghs', push::MSG_TYPE_ORDER);
|
|
|
$push->pushByCloud($cids, $title, $content, $payload);
|
|
|
}
|
|
|
//花店采购供货商端APP收到通知
|