mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-24 18:36:15 +08:00
[更新]修改微信支付demo
This commit is contained in:
parent
aa9e329a1a
commit
fc76fcbdbb
@ -55,7 +55,7 @@ class Wap extends BasicWechat {
|
|||||||
public function payjs() {
|
public function payjs() {
|
||||||
$this->oAuth();
|
$this->oAuth();
|
||||||
$this->assign('jsSign', load_wechat('script')->getJsSign($this->url));
|
$this->assign('jsSign', load_wechat('script')->getJsSign($this->url));
|
||||||
switch ($this->request->get('options')) {
|
switch ($this->request->get('action')) {
|
||||||
case 'options':
|
case 'options':
|
||||||
$pay = &load_wechat('pay');
|
$pay = &load_wechat('pay');
|
||||||
$order_no = session('pay-test-order-no');
|
$order_no = session('pay-test-order-no');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user