瀏覽代碼

微信H5 支付

zhengjinyi 3 年之前
父節點
當前提交
761302ca6f

+ 0 - 1
src/main/resources/static/js/pay/caimei-wechatpay.js

@@ -45,7 +45,6 @@ var payContainer = new Vue({
             }
         },
         WxPaySubmit:function(){
-            this.isSubMitStatus=true;
             if(this.paymentChannel == 'HLB'){
                 this.hlbWechatPayFn()
             }else{

+ 6 - 0
src/main/resources/static/js/pay/mixin/hlb_wxMixin.js

@@ -5,6 +5,7 @@ var hlbWechatMixin = function () {
 		methods: {
 			hlb_WxRequestPaymentFn:function(){ // 普通订单合利宝公众号支付
 				var _this = this;
+				_this.isSubMitStatus=true;
 				var params={
 					payType:'GZH',
 					payAmount:parseFloat(_this.payAmount),
@@ -20,6 +21,7 @@ var hlbWechatMixin = function () {
 			},
 			hlb_WxRequestPaymentVipFn: function(){ // 超级会员合利宝公众号支付
 				var _this = this;
+				_this.isSubMitStatus=true;
 				var params = {
 					payType:'GZH',
 					code: _this.wechatcode,
@@ -35,6 +37,7 @@ var hlbWechatMixin = function () {
 			},
 			hlb_WxRequestPaymentCouponFn: function(){// 优惠券合利宝公众号支付
 				var _this = this;
+				_this.isSubMitStatus=true;
 				var params = {
 					payType:'GZH',
 					code: _this.wechatcode,
@@ -52,6 +55,7 @@ var hlbWechatMixin = function () {
 			},
 			hlb_WxRequestPaymentAuthVipFn: function(){// 认证通会员合利宝公众号支付
 				var _this = this;
+				_this.isSubMitStatus=true;
 				var params = {
 					payType:'GZH',
 					code: _this.wechatcode,
@@ -61,12 +65,14 @@ var hlbWechatMixin = function () {
 					returnUrl: 'https://www.caimei365.com/',
 				};
 				console.log('=========>认证通会员合利宝公众号支付',params)
+
 				PayApi.PayAuthVipMiniWxPay(params,function(response){
 					_this.hlb_handlResponse(response)
 				});
 			},
 			hlb_WxRequestsecondHandPay:function(){ // 二手发布合利宝公众号支付
 				var _this = this;
+				_this.isSubMitStatus=true;
 				var params = {
 					payType:'GZH',
 					code: _this.wechatcode,