*
Showing
1 changed file
with
3 additions
and
8 deletions
... | @@ -100,17 +100,12 @@ class BaseController extends Controller | ... | @@ -100,17 +100,12 @@ class BaseController extends Controller |
100 | ]; | 100 | ]; |
101 | */ | 101 | */ |
102 | 102 | ||
103 | $data = [ | ||
104 | "businessId" => 1421483, | ||
105 | "queryType" => "track", | ||
106 | "brandId" => 7389 | ||
107 | ]; | ||
108 | 103 | ||
109 | Log::channel('api')->info(__METHOD__.'get请求参数', ['token'=>$token, 'url'=>$url, 'data'=>$data]); | 104 | //Log::channel('api')->info(__METHOD__.'get请求参数', ['token'=>$token, 'url'=>$url, 'data'=>$data]); |
110 | $response = $this->client->request('GET', $url, ['query' => [ | 105 | $response = $this->client->request('GET', $url, ['query' => [ |
111 | "businessId"=>$params["businessId"], | 106 | "businessId"=>(int)$params["businessId"], |
112 | "queryType"=>$params["queryType"], | 107 | "queryType"=>$params["queryType"], |
113 | "brandId"=>$params["brandId"] | 108 | "brandId"=>(int)$params["brandId"] |
114 | ],'headers'=>$headers]); | 109 | ],'headers'=>$headers]); |
115 | 110 | ||
116 | break; | 111 | break; | ... | ... |
-
Please register or sign in to post a comment