From 71f807f964d07f9a91ef0cba549833cea482625f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Fri, 14 Apr 2017 17:37:53 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E6=94=AF=E4=BB=98demo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/Wap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/index/controller/Wap.php b/application/index/controller/Wap.php index ecdf2a2ec..054aeecd2 100644 --- a/application/index/controller/Wap.php +++ b/application/index/controller/Wap.php @@ -53,7 +53,7 @@ class Wap extends BasicWechat { } public function payjs() { - $this->oAuth(); + $this->openid = $this->oAuth(false); $this->assign('jsSign', load_wechat('script')->getJsSign($this->url)); switch ($this->request->get('action')) { case 'options':