Commit 3bcea034 by 孙龙

同下

parent e82901db
Showing with 1 additions and 1 deletions
......@@ -594,7 +594,7 @@ class MessageApiController extends Controller
'expire_time'=>time()+3600*2
];
// dump($_data);
$msg_arr['data'] = $_data;
$msg_arr['data'] = json_encode($_data);
$msg = new AMQPMessage(json_encode($msg_arr));
$channel->basic_publish($msg, $exchange);
}
......
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 sign in to comment