Commit 3e70ae39 3e70ae390c227b4d2422cac8edaf2d7e382df83c by lemon

Merge branch 'master' of gitlab.hikoon.com:zhaocong/musician-api.hikoon.com into release

2 parents 5aad5096 23026731
...@@ -26,6 +26,8 @@ class IssueService extends Service ...@@ -26,6 +26,8 @@ class IssueService extends Service
26 'timeout' => 3.0, 26 'timeout' => 3.0,
27 ]); 27 ]);
28 28
29 $token = uniqid();
30
29 try { 31 try {
30 32
31 $params['data'] = $this->request->all(); 33 $params['data'] = $this->request->all();
...@@ -35,6 +37,8 @@ class IssueService extends Service ...@@ -35,6 +37,8 @@ class IssueService extends Service
35 'stakeholder_ids' => $this->stakeholder_ids, 37 'stakeholder_ids' => $this->stakeholder_ids,
36 ]; 38 ];
37 39
40 Log::info(__METHOD__.':请求参数', ['params'=>$params, 'token'=>$token, 'uri'=>$client->post($this->request->getRequestUri())]);
41
38 $data = ['params' => AesEncrypt::encrypt(json_encode($params))]; 42 $data = ['params' => AesEncrypt::encrypt(json_encode($params))];
39 $response = $client->post($this->request->getRequestUri(), [ 43 $response = $client->post($this->request->getRequestUri(), [
40 'json' => $data, 44 'json' => $data,
...@@ -44,7 +48,7 @@ class IssueService extends Service ...@@ -44,7 +48,7 @@ class IssueService extends Service
44 $respArr['msg'] = $respArr['message']; 48 $respArr['msg'] = $respArr['message'];
45 unset($respArr['message']); 49 unset($respArr['message']);
46 50
47 Log::info(__METHOD__.':请求返回体', ['respArr'=>$respArr, 'data'=>$data, 'uri'=>$client->post($this->request->getRequestUri())]); 51 Log::info(__METHOD__.':请求返回体', ['respArr'=>$respArr, 'token'=>$token, 'data'=>$data, 'uri'=>$client->post($this->request->getRequestUri())]);
48 52
49 return response()->json($respArr, 200); 53 return response()->json($respArr, 200);
50 } catch (\Throwable $throwable) { 54 } catch (\Throwable $throwable) {
......