From 58b185bbb7148bd716b8ccbde9f19a95c8205a79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 26 Jun 2019 18:52:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Account.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wx/Account.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wx/Account.php b/wx/Account.php index 49ada91..0d3698e 100644 --- a/wx/Account.php +++ b/wx/Account.php @@ -16,8 +16,8 @@ class Account extends Base public function login($code) { return Http::get('sns/jscode2session', [ - 'appid' => $this->app_id, - 'secret' => $this->app_secret, + 'appid' => $this->appid, + 'secret' => $this->appsecret, 'js_code' => $code, 'grant_type' => 'authorization_code' ], null, ['Content-Type' => 'text/xml']);