Commit 217f0ee9 by xmy

# 1.0.41

 修改消息推送
parent 511b5814
# 1.0.41
- 修改消息推送
# 1.0.40
- 商家退款账本接口增加 order_time字段 ByIds
# 1.0.39
......
......@@ -255,13 +255,13 @@ class Topic
$tryTimes = 0;
do{
$msgId = $this->publish_message($cryptMessage,$vTagList,$routingKey);
$res = $this->publish_message($cryptMessage,$vTagList,$routingKey);
$tryTimes++;
}while(!$msgId || $tryTimes < 3);
}while($res['code']!=0 && $tryTimes < 3);
if ($tryTimes > 3){
App::error("[消息队列失败]:$message");
}
return $msgId;
return $res;
}
}
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