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
5aa1f701
...
5aa1f7012cc9861e388ee4181171b64f33c261cd
authored
2022-10-26 15:09:08 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
6bbd22e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
app/Http/Controllers/Release/BaseController.php
app/Http/Controllers/Release/BaseController.php
View file @
5aa1f70
...
...
@@ -91,11 +91,15 @@ class BaseController extends Controller
$headers
=
$this
->
parseHeaders
(
$params
);
switch
(
strtoupper
(
$method
))
{
case
'GET'
:
$response
=
$this
->
client
->
request
(
'GET'
,
$url
,
[
'query'
=>
[
$data
=
[
"businessId"
=>
482946
,
"queryType"
=>
"album"
,
"brandId"
=>
103596
],
'headers'
=>
$headers
]);
];
Log
::
channel
(
'api'
)
->
info
(
__METHOD__
.
'get请求参数'
,
[
'token'
=>
$token
,
'url'
=>
$url
,
'data'
=>
$data
]);
$response
=
$this
->
client
->
request
(
'GET'
,
$url
,
[
'query'
=>
$data
,
'headers'
=>
$headers
]);
break
;
case
'POST'
:
...
...
Please
register
or
sign in
to post a comment