mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]修改微信支付demo
This commit is contained in:
parent
fe6f035c6a
commit
7da35de2c0
@ -33,10 +33,8 @@
|
|||||||
if (ret.code === 2) {
|
if (ret.code === 2) {
|
||||||
ret.url = '__STATIC__/theme/default/img/wechat/qrc_payed.jpg';
|
ret.url = '__STATIC__/theme/default/img/wechat/qrc_payed.jpg';
|
||||||
}
|
}
|
||||||
if (ret.code === 1) {
|
console.log(ret);
|
||||||
console.log(ret);
|
$('#showbox').html('<img src="' + ret.url + '"/>');
|
||||||
$('#showbox').html('<img src="' + ret.url + '"/>');
|
|
||||||
}
|
|
||||||
$('#orderno').html('订单号:' + ret.order_no);
|
$('#orderno').html('订单号:' + ret.order_no);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user