@@ -212,7 +212,8 @@ define(function (require) {
window.location.href = 'http://callclient?method=pay¶m=' + encodeURIComponent(param_str) + '&callback=' + _callback;
},
wx: function () {
- if (config.test) {
+ if (config.test)
+ {
pingpp.createPayment(params.charge, function (result, err) {
if (result == "success") {
// 只有微信公众账号 wx_pub 支付成功的结果会在这里返回,其他的支付结果都会跳转到 extra 中对应的 URL。
@@ -836,12 +836,12 @@ define(['$', 'template', 'order', 'native', 'helper', 'user', 'api', 'config', '
var orderID = order.id;
order.reset();
+ console.log(order.reset());
$('.booking-time', $view).html('请选择');
if (res.data.status == 1) {
$doc.trigger('spa:navigate', {
hash: 'paySuccess'
});
-
} else {
hash: 'pay',