[更新]修改微信支付demo

This commit is contained in:
邹景立 2017-04-14 17:39:16 +08:00
parent 71f807f964
commit 9af977fac7

View File

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