get_millisecond_timestamp(); $sign = $this->getSign($requestQuery,$requestBody,$timestamp); //请求导入客户信息接口 $header = [ 'Content-Type: application/json', 'X-YS-APIKEY: 6143f9037f8546f6b83be0498dc19258', 'X-YS-TIME: '.$timestamp, 'X-YS-SIGNATURE: '.$sign, ]; $response = http_request('https://b.163.com/open/api/wecall/v1/task/importCustomer', $requestBody, $header); echo $sign."\r\n"; echo $timestamp."\r\n"; print_r($response); } }