mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改微信支付demo
This commit is contained in:
parent
71f807f964
commit
9af977fac7
@ -54,6 +54,7 @@ class Wap extends BasicWechat {
|
|||||||
|
|
||||||
public function payjs() {
|
public function payjs() {
|
||||||
$this->openid = $this->oAuth(false);
|
$this->openid = $this->oAuth(false);
|
||||||
|
dump($this->openid);
|
||||||
$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':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user