Commit 61ef0254 61ef02544be7ee2724494a08aa4f632a7ce1a0bc by lemon

*

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