|
|
|
@ -47,7 +47,6 @@ class OrderStateHandle extends RowAction |
|
|
|
return $this->response()->success('操作成功')->refresh(); |
|
|
|
}elseif ($state==9){//同意退款
|
|
|
|
$order = $orderMain::where('id',$id)->first(); |
|
|
|
|
|
|
|
$result = json_decode(Rpc::orderRefund($order->global_order_id,$order->user_id),true)['result']; |
|
|
|
if (isset($result['code'])&&$result['code']!=0){ |
|
|
|
Log::error('订单退款接口调用失败',$result); |
|
|
|
|