Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Cong.Zhao
/
musician-api.hikoon.com
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
3e70ae39
...
3e70ae390c227b4d2422cac8edaf2d7e382df83c
authored
2022-08-25 16:06:04 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of gitlab.hikoon.com:zhaocong/musician-api.hikoon.com into release
2 parents
5aad5096
23026731
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
app/Services/IssueService.php
app/Services/IssueService.php
View file @
3e70ae3
...
...
@@ -26,6 +26,8 @@ class IssueService extends Service
'timeout'
=>
3.0
,
]);
$token
=
uniqid
();
try
{
$params
[
'data'
]
=
$this
->
request
->
all
();
...
...
@@ -35,6 +37,8 @@ class IssueService extends Service
'stakeholder_ids'
=>
$this
->
stakeholder_ids
,
];
Log
::
info
(
__METHOD__
.
':请求参数'
,
[
'params'
=>
$params
,
'token'
=>
$token
,
'uri'
=>
$client
->
post
(
$this
->
request
->
getRequestUri
())]);
$data
=
[
'params'
=>
AesEncrypt
::
encrypt
(
json_encode
(
$params
))];
$response
=
$client
->
post
(
$this
->
request
->
getRequestUri
(),
[
'json'
=>
$data
,
...
...
@@ -44,7 +48,7 @@ class IssueService extends Service
$respArr
[
'msg'
]
=
$respArr
[
'message'
];
unset
(
$respArr
[
'message'
]);
Log
::
info
(
__METHOD__
.
':请求返回体'
,
[
'respArr'
=>
$respArr
,
'data'
=>
$data
,
'uri'
=>
$client
->
post
(
$this
->
request
->
getRequestUri
())]);
Log
::
info
(
__METHOD__
.
':请求返回体'
,
[
'respArr'
=>
$respArr
,
'token'
=>
$token
,
'data'
=>
$data
,
'uri'
=>
$client
->
post
(
$this
->
request
->
getRequestUri
())]);
return
response
()
->
json
(
$respArr
,
200
);
}
catch
(
\Throwable
$throwable
)
{
...
...
Please
register
or
sign in
to post a comment