log->error('CancelOrderConsumer:error:NoData:'.json_encode($data)); return Result::ACK; } $orderId = (int)$data['order_id']; $orderType = (int)$data['type']; $amount = $data['amount']; try { $service = new RefundService(); } catch (Exception $e) { $this->log->error('RefundOrderConsumer:error:'.$e->getMessage().':data:'.json_encode($data)); } return Result::ACK; } }