Commit 61ef0254 61ef02544be7ee2724494a08aa4f632a7ce1a0bc by lemon

*

1 parent c71426b4
...@@ -31,13 +31,13 @@ class IssueService extends Service ...@@ -31,13 +31,13 @@ class IssueService extends Service
31 'user_id' => $this->identifier->user_id, 31 'user_id' => $this->identifier->user_id,
32 'stakeholder_ids' => $this->stakeholder_ids, 32 'stakeholder_ids' => $this->stakeholder_ids,
33 ]; 33 ];
34
34 $data = ['params' => AesEncrypt::encrypt(json_encode($params))]; 35 $data = ['params' => AesEncrypt::encrypt(json_encode($params))];
35 $response = $client->post('/api/issue/status/album', [ 36 $response = $client->post($this->request->getRequestUri(), [
36 'json' => $data, 37 'json' => $data,
37 ]); 38 ]);
38 $respArr = json_decode($response->getBody()->getContents(), true); 39 $respArr = json_decode($response->getBody()->getContents(), true);
39 40
40
41 return response()->json($respArr, 200); 41 return response()->json($respArr, 200);
42 } catch (\Throwable $throwable) { 42 } catch (\Throwable $throwable) {
43 return Response::error(ErrorCode::SERVER_ERROR, $throwable->getMessage()); 43 return Response::error(ErrorCode::SERVER_ERROR, $throwable->getMessage());
......
...@@ -55,7 +55,7 @@ Route::group([], function (){ ...@@ -55,7 +55,7 @@ Route::group([], function (){
55 55
56 //发行 56 //发行
57 Route::group(["prefix"=>"issue"], function (){ 57 Route::group(["prefix"=>"issue"], function (){
58 Route::post('{uri}', 'IssueController@index')->where(['uri'=>'.*+']); 58 Route::any('{uri}', 'IssueController@index')->where(['uri'=>'.*+']);
59 }); 59 });
60 60
61 61
......