jmx 8 жил өмнө
parent
commit
5504c450eb

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

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