|
@@ -14,6 +14,7 @@ var hlbWechatMixin = function () {
|
|
returnUrl:'https://www.caimei365.com/',
|
|
returnUrl:'https://www.caimei365.com/',
|
|
};
|
|
};
|
|
console.log('=========>普通订单合利宝公众号支付',params)
|
|
console.log('=========>普通订单合利宝公众号支付',params)
|
|
|
|
+ _this.isSubMitStatus=true;
|
|
PayApi.PayOrderPcScanWxPay(params,function(response){
|
|
PayApi.PayOrderPcScanWxPay(params,function(response){
|
|
_this.hlb_handlResponse(response)
|
|
_this.hlb_handlResponse(response)
|
|
})
|
|
})
|
|
@@ -29,6 +30,7 @@ var hlbWechatMixin = function () {
|
|
returnUrl: 'https://www.caimei365.com/',
|
|
returnUrl: 'https://www.caimei365.com/',
|
|
};
|
|
};
|
|
console.log('=========>超级会员合利宝公众号支付',params)
|
|
console.log('=========>超级会员合利宝公众号支付',params)
|
|
|
|
+ _this.isSubMitStatus=true;
|
|
PayApi.PayVipMiniWxPay(params,function(response){
|
|
PayApi.PayVipMiniWxPay(params,function(response){
|
|
_this.hlb_handlResponse(response)
|
|
_this.hlb_handlResponse(response)
|
|
});
|
|
});
|
|
@@ -46,6 +48,7 @@ var hlbWechatMixin = function () {
|
|
source:2 //支付来源 1 小程序 2 WWW
|
|
source:2 //支付来源 1 小程序 2 WWW
|
|
};
|
|
};
|
|
console.log('=========>优惠券合利宝公众号支付',params)
|
|
console.log('=========>优惠券合利宝公众号支付',params)
|
|
|
|
+ _this.isSubMitStatus=true;
|
|
PayApi.PayCouponMiniWxPay(params,function(response){
|
|
PayApi.PayCouponMiniWxPay(params,function(response){
|
|
_this.hlb_handlResponse(response)
|
|
_this.hlb_handlResponse(response)
|
|
});
|
|
});
|
|
@@ -61,6 +64,7 @@ var hlbWechatMixin = function () {
|
|
returnUrl: 'https://www.caimei365.com/',
|
|
returnUrl: 'https://www.caimei365.com/',
|
|
};
|
|
};
|
|
console.log('=========>认证通会员合利宝公众号支付',params)
|
|
console.log('=========>认证通会员合利宝公众号支付',params)
|
|
|
|
+ _this.isSubMitStatus=true;
|
|
PayApi.PayAuthVipMiniWxPay(params,function(response){
|
|
PayApi.PayAuthVipMiniWxPay(params,function(response){
|
|
_this.hlb_handlResponse(response)
|
|
_this.hlb_handlResponse(response)
|
|
});
|
|
});
|
|
@@ -75,6 +79,7 @@ var hlbWechatMixin = function () {
|
|
returnUrl: 'https://www.caimei365.com/',
|
|
returnUrl: 'https://www.caimei365.com/',
|
|
};
|
|
};
|
|
console.log('=========>二手发布合利宝公众号支付',params)
|
|
console.log('=========>二手发布合利宝公众号支付',params)
|
|
|
|
+ _this.isSubMitStatus=true;
|
|
PayApi.PayOrdersecondWechat(params,function(response){
|
|
PayApi.PayOrdersecondWechat(params,function(response){
|
|
_this.hlb_handlResponse(response)
|
|
_this.hlb_handlResponse(response)
|
|
});
|
|
});
|
|
@@ -83,6 +88,7 @@ var hlbWechatMixin = function () {
|
|
var _this = this;
|
|
var _this = this;
|
|
if(response.code === 0){
|
|
if(response.code === 0){
|
|
var PayInfo = JSON.parse(response.data.rt10_payInfo);
|
|
var PayInfo = JSON.parse(response.data.rt10_payInfo);
|
|
|
|
+ _this.isSubMitStatus=false;
|
|
if (typeof WeixinJSBridge == "undefined"){
|
|
if (typeof WeixinJSBridge == "undefined"){
|
|
if( document.addEventListener ){
|
|
if( document.addEventListener ){
|
|
document.addEventListener('WeixinJSBridgeReady', hlb_onBridgeReady, false);
|
|
document.addEventListener('WeixinJSBridgeReady', hlb_onBridgeReady, false);
|
|
@@ -95,6 +101,7 @@ var hlbWechatMixin = function () {
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
CAIMEI.dialog("支付链接已失效,请重新扫码支付");
|
|
CAIMEI.dialog("支付链接已失效,请重新扫码支付");
|
|
|
|
+ _this.isSubMitStatus=false;
|
|
setTimeout(function(){
|
|
setTimeout(function(){
|
|
WeixinJSBridge.call('closeWindow');
|
|
WeixinJSBridge.call('closeWindow');
|
|
},3000);
|
|
},3000);
|