[更新]修改微信支付demo

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

View File

@ -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':