其他订单打印
This commit is contained in:
@@ -43,6 +43,7 @@ try {
|
||||
$is_log = false;
|
||||
$curl_error = '';
|
||||
$data = json_decode($data, true);
|
||||
if(is_array($data)) {
|
||||
$rand = 'cashier_order' . Random::build();
|
||||
$send_id = 'cashier_'. $data['shopId'];
|
||||
// 收银机打印订单
|
||||
@@ -85,6 +86,7 @@ try {
|
||||
'err_info' => $curl_error,
|
||||
]);
|
||||
}
|
||||
}
|
||||
$msg->delivery_info['channel']->basic_ack($msg->delivery_info['delivery_tag']);
|
||||
};
|
||||
$rabbit_channel->basic_consume($queue, '', false, false, false, false, $callback);
|
||||
|
||||
Reference in New Issue
Block a user