|
|
|
@ -256,13 +256,13 @@ |
|
|
|
var urls = encodeURIComponent(location.href) |
|
|
|
var imgUrl = encodeURIComponent(this.imgUrl) |
|
|
|
if ( sourceType == 2 ){ //指定优惠券 |
|
|
|
this.wxShare({"couponNo":coupon,"source":10,"url":urls,imgUrl:imgUrl}) |
|
|
|
this.wxShare({"couponNo":coupon,"source":10,"url":urls,"imgUrl":imgUrl}) |
|
|
|
} else if( sourceType == 1) { //通过商户默认推荐 |
|
|
|
this.wxShare({"merchantNo":merchantNo,"source":10,"url":urls,imgUrl:imgUrl}) |
|
|
|
this.wxShare({"merchantNo":merchantNo,"source":10,"url":urls,"imgUrl":imgUrl}) |
|
|
|
} else if (sourceType == 3){ //通过别人分享 |
|
|
|
this.wxShare({"source":40,"url":urls,imgUrl:this.imgUrl}) |
|
|
|
this.wxShare({"source":40,"url":urls,imgUrl:imgUrl}) |
|
|
|
} else { |
|
|
|
this.wxShare({"merchantNo":this.merchantNo,"source":10,"url":urls,imgUrl:imgUrl}) |
|
|
|
this.wxShare({"merchantNo":this.merchantNo,"source":10,"url":urls,"imgUrl":imgUrl}) |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|