1
0
mirror of https://gitee.com/zoujingli/ThinkAdmin.git synced 2025-04-06 03:58:04 +08:00

[更新]修改微信支付demo

This commit is contained in:
邹景立 2017-04-14 17:37:53 +08:00
parent fc76fcbdbb
commit 71f807f964

@ -53,7 +53,7 @@ class Wap extends BasicWechat {
} }
public function payjs() { public function payjs() {
$this->oAuth(); $this->openid = $this->oAuth(false);
$this->assign('jsSign', load_wechat('script')->getJsSign($this->url)); $this->assign('jsSign', load_wechat('script')->getJsSign($this->url));
switch ($this->request->get('action')) { switch ($this->request->get('action')) {
case 'options': case 'options':