From 9011edad3f4d1bca5f1d3e09830c8c530f6def4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=80=99=E5=AD=A6=E6=9D=B0?= Date: Mon, 12 Mar 2018 16:02:11 +0800 Subject: [PATCH] appid --- src/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]);