jmx %!s(int64=8) %!d(string=hai) anos
pai
achega
5504c450eb
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      www/webapp/o2o/module/pay/index.html

+ 3 - 2
www/webapp/o2o/module/pay/index.html

@@ -162,15 +162,16 @@
             "timeStamp": urlParam.timeStamp.toString(),
             "paySign": urlParam.paySign
           },function(res){
+            console.log(res);
             if(res.err_msg == "get_brand_wcpay_request:ok" ) {
               $('.j-pay-btn').hide();
               $('.j-pay-result').show();
-              // $('#result').show();
+              alert('活动订单支付成功了');
             } else if (res.err_msg == "get_brand_wcpay_request:cancel"){
                 // alert('取消支付');
             } else {
               alert('支付失败');
-              location.href = '/o2o/web/index';
+//              location.href = '/o2o/web/index';
             }
           }
         );