Commit 2019d31c authored by liuyuzhen's avatar liuyuzhen

订阅推送消息

parent 4a9a9725
...@@ -736,9 +736,8 @@ class OrderConfirmUtil { ...@@ -736,9 +736,8 @@ class OrderConfirmUtil {
public function pushMessage(){ public function pushMessage(){
if($this->pushMessageOrders){ if($this->pushMessageOrders){
$orderService=\Business\Order\OrderServiceModel::getInstance();
foreach($this->pushMessageOrders as $tempOrder){ foreach($this->pushMessageOrders as $tempOrder){
$orderService->pushRecieveOrder($tempOrder); \Our\Common::redisPublish('\Business\Order\OrderServiceModel','pushRecieveOrder',array($tempOrder));
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment