|
|
@ -52,6 +52,8 @@ class OrderStateHandle extends RowAction |
|
|
if (isset($result['code'])&&$result['code']!=0){ |
|
|
if (isset($result['code'])&&$result['code']!=0){ |
|
|
Log::error('订单退款接口调用失败',$result); |
|
|
Log::error('订单退款接口调用失败',$result); |
|
|
return $this->response()->error($result['message'])->refresh(); |
|
|
return $this->response()->error($result['message'])->refresh(); |
|
|
|
|
|
}else{ |
|
|
|
|
|
$orderMain->modifyState($id,$state); |
|
|
} |
|
|
} |
|
|
return $this->response()->success($result['message'])->refresh(); |
|
|
return $this->response()->success($result['message'])->refresh(); |
|
|
} |
|
|
} |
|
|
|