Commit a083421d a083421d7ee320acefdc9106d1fc179d1f3f014c by lemon

*

1 parent 77a3d95a
......@@ -40,11 +40,12 @@ class IssueService extends Service
'json' => $data,
]);
$respArr = json_decode($response->getBody()->getContents(), true);
Log::info(__METHOD__.':请求返回体', ['respArr'=>$respArr, 'data'=>$data, 'uri'=>$client->post($this->request->getRequestUri())]);
$respArr['msg'] = $respArr['message'];
unset($respArr['message']);
Log::info(__METHOD__.':请求返回体', ['respArr'=>$respArr, 'data'=>$data, 'uri'=>$client->post($this->request->getRequestUri())]);
return response()->json($respArr, 200);
} catch (\Throwable $throwable) {
return Response::error(ErrorCode::SERVER_ERROR, $throwable->getMessage());
......