[更新]修改微信支付demo

This commit is contained in:
邹景立 2017-04-14 17:02:23 +08:00
parent fe6f035c6a
commit 7da35de2c0

View File

@ -33,10 +33,8 @@
if (ret.code === 2) {
ret.url = '__STATIC__/theme/default/img/wechat/qrc_payed.jpg';
}
if (ret.code === 1) {
console.log(ret);
$('#showbox').html('<img src="' + ret.url + '"/>');
}
console.log(ret);
$('#showbox').html('<img src="' + ret.url + '"/>');
$('#orderno').html('订单号:' + ret.order_no);
});
}