|
|
@@ -240,8 +240,9 @@ class NoticeController extends PublicController
|
|
|
Yii::$app->redis->executeCommand('LPUSH', [$noticeKey, $noticeText]);
|
|
|
|
|
|
//向供货商APP发通知
|
|
|
+ $cgShop = ShopClass::getById($cg->shopId, true, 'shopName, merchantName');
|
|
|
$push = new push('ghs', push::MSG_TYPE_ORDER);
|
|
|
- $push->ghsOrderMessage($shop, $order);
|
|
|
+ $push->ghsOrderMessage($shop, $cgShop, $order);
|
|
|
}
|
|
|
//花店采购供货商端APP收到通知
|
|
|
//NoticeClass::ghsNewOrderNotice($order);
|
|
|
@@ -471,8 +472,9 @@ class NoticeController extends PublicController
|
|
|
Yii::$app->redis->executeCommand('LPUSH', [$noticeKey, $noticeText]);
|
|
|
|
|
|
//向供货商APP发通知
|
|
|
+ $cgShop = ShopClass::getById($cg->shopId, true, 'shopName, merchantName');
|
|
|
$push = new push('ghs', push::MSG_TYPE_ORDER);
|
|
|
- $push->ghsOrderMessage($shop, $order);
|
|
|
+ $push->ghsOrderMessage($shop, $cgShop, $order);
|
|
|
}
|
|
|
//花店采购供货商端APP收到通知
|
|
|
//NoticeClass::ghsNewOrderNotice($order);
|
|
|
@@ -856,8 +858,9 @@ class NoticeController extends PublicController
|
|
|
Yii::$app->redis->executeCommand('LPUSH', [$noticeKey, $noticeText]);
|
|
|
|
|
|
//向供货商端APP发通知
|
|
|
+ $cgShop = ShopClass::getById($cg->shopId, true, 'shopName, merchantName');
|
|
|
$push = new push('ghs', push::MSG_TYPE_ORDER);
|
|
|
- $push->ghsOrderMessage($shop, $order);
|
|
|
+ $push->ghsOrderMessage($shop, $cgShop, $order);
|
|
|
}
|
|
|
//花店采购供货商端APP收到通知
|
|
|
//NoticeClass::ghsNewOrderNotice($order);
|