Commit 89f8a656 authored by chenchuanwen's avatar chenchuanwen

pushMessage

parent 7000ef49
......@@ -78,7 +78,6 @@ class cliOrderClose extends basecli
while($pushData=\Our\RedisHelper::lpop('client_push')){
if($pushData['type']==\Our\ApiConst::messageReceiveOrderType){
$push->recievedOrder($pushData['storeId'],$pushData['orderId']);
$messageService->addMessageCenterToDb();
continue;
}
$push->addOneToClient($pushData);
......@@ -109,8 +108,8 @@ class cliOrderClose extends basecli
}
}
$push->sendTcpMessage();
$messageService->addMessageCenterToDb();
}
protected function _runCli()
{
......
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