diff --git a/src/Client.php b/src/Client.php index 0833ba3..dbc6758 100644 --- a/src/Client.php +++ b/src/Client.php @@ -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]);