appid
This commit is contained in:
parent
287eb59f0e
commit
9011edad3f
|
@ -37,7 +37,7 @@ class Client
|
||||||
$this->config[$this->currentApp]);
|
$this->config[$this->currentApp]);
|
||||||
unset($config['secret']);
|
unset($config['secret']);
|
||||||
$client = new \GuzzleHttp\Client($config);
|
$client = new \GuzzleHttp\Client($config);
|
||||||
$params['appid'] = $this->currentApp;
|
$params['appid'] = $config['appid'];
|
||||||
$params['timestamp'] = time();
|
$params['timestamp'] = time();
|
||||||
$params['sign'] = $this->sign($params);
|
$params['sign'] = $this->sign($params);
|
||||||
$resp = $client->post($uri, ['form_params' => $params]);
|
$resp = $client->post($uri, ['form_params' => $params]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user