*
Showing
1 changed file
with
8 additions
and
0 deletions
... | @@ -92,11 +92,19 @@ class BaseController extends Controller | ... | @@ -92,11 +92,19 @@ class BaseController extends Controller |
92 | switch (strtoupper($method)) { | 92 | switch (strtoupper($method)) { |
93 | case 'GET': | 93 | case 'GET': |
94 | 94 | ||
95 | /* | ||
95 | $data = [ | 96 | $data = [ |
96 | "businessId"=>194159, | 97 | "businessId"=>194159, |
97 | "queryType"=>"album", | 98 | "queryType"=>"album", |
98 | "brandId"=>7389 | 99 | "brandId"=>7389 |
99 | ]; | 100 | ]; |
101 | */ | ||
102 | |||
103 | $data = [ | ||
104 | "businessId" => 1421483, | ||
105 | "queryType" => "track", | ||
106 | "brandId" => 7389 | ||
107 | ]; | ||
100 | 108 | ||
101 | Log::channel('api')->info(__METHOD__.'get请求参数', ['token'=>$token, 'url'=>$url, 'data'=>$data]); | 109 | Log::channel('api')->info(__METHOD__.'get请求参数', ['token'=>$token, 'url'=>$url, 'data'=>$data]); |
102 | $response = $this->client->request('GET', $url, ['query' => $data,'headers'=>$headers]); | 110 | $response = $this->client->request('GET', $url, ['query' => $data,'headers'=>$headers]); | ... | ... |
-
Please register or sign in to post a comment