This commit is contained in:
候学杰 2018-03-12 16:02:11 +08:00
parent 287eb59f0e
commit 9011edad3f

View File

@ -37,7 +37,7 @@ class Client
$this->config[$this->currentApp]);
unset($config['secret']);
$client = new \GuzzleHttp\Client($config);
$params['appid'] = $this->currentApp;
$params['appid'] = $config['appid'];
$params['timestamp'] = time();
$params['sign'] = $this->sign($params);
$resp = $client->post($uri, ['form_params' => $params]);