[更新]修改微信支付demo

This commit is contained in:
邹景立 2017-04-14 16:59:38 +08:00
parent bc4c0bb50c
commit fe6f035c6a

View File

@ -34,6 +34,7 @@
ret.url = '__STATIC__/theme/default/img/wechat/qrc_payed.jpg'; ret.url = '__STATIC__/theme/default/img/wechat/qrc_payed.jpg';
} }
if (ret.code === 1) { if (ret.code === 1) {
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);