|
|
|
@ -86,7 +86,8 @@ |
|
|
|
|
|
|
|
if ( res.data.imageUrl ){ |
|
|
|
this.imgUrl = res.data.imageUrl |
|
|
|
this.imgSrc = res.data.imageUrl + "?" + Date.now(); |
|
|
|
this.imgSrc = res.data.imageUrl + "?" + Date.now(); |
|
|
|
this.shareWenXin() |
|
|
|
} else { |
|
|
|
if ( res.data.hasOAuth == 0 ){ |
|
|
|
location.href = res.data.oauthUrl |
|
|
|
@ -119,7 +120,8 @@ |
|
|
|
},500) |
|
|
|
if ( res.code == 0 ){ |
|
|
|
this.imgUrl = res.response |
|
|
|
this.imgSrc = res.response + "?" + Date.now(); |
|
|
|
this.imgSrc = res.response + "?" + Date.now(); |
|
|
|
this.shareWenXin() |
|
|
|
} else { |
|
|
|
this.$vux.toast.text(res.msg,"middle"); |
|
|
|
if ( res.code == 666 ){ |
|
|
|
@ -140,7 +142,8 @@ |
|
|
|
|
|
|
|
if ( res.data.imageUrl ){ |
|
|
|
this.imgUrl = res.data.imageUrl |
|
|
|
this.imgSrc = res.data.imageUrl + "?" + Date.now(); |
|
|
|
this.imgSrc = res.data.imageUrl + "?" + Date.now(); |
|
|
|
this.shareWenXin() |
|
|
|
} else { |
|
|
|
if ( res.data.hasOAuth == 0 ){ |
|
|
|
location.href = res.data.oauthUrl |
|
|
|
@ -173,7 +176,8 @@ |
|
|
|
},500) |
|
|
|
if ( res.code == 0 ){ |
|
|
|
this.imgUrl = res.response |
|
|
|
this.imgSrc = res.response + "?" + Date.now(); |
|
|
|
this.imgSrc = res.response + "?" + Date.now(); |
|
|
|
this.shareWenXin() |
|
|
|
} else { |
|
|
|
this.$vux.toast.text(res.msg,"middle"); |
|
|
|
if ( res.code == 666 ){ |
|
|
|
@ -245,8 +249,7 @@ |
|
|
|
this.createPoster2() |
|
|
|
} else { |
|
|
|
this.createPoster() |
|
|
|
} |
|
|
|
this.shareWenXin() |
|
|
|
} |
|
|
|
}, |
|
|
|
//分享微信 |
|
|
|
shareWenXin (){ |
|
|
|
|