Fix:4375 【旅居商城小程序】旅居商家主页分享模板
This commit is contained in:
+4
-1
@@ -153,7 +153,10 @@ export function postJiaLouNewsZan(data) {
|
|||||||
export function postJiaLouShare(id) {
|
export function postJiaLouShare(id) {
|
||||||
return request.get('/countyFamous/sojourn/poster/' + id, {login: true})
|
return request.get('/countyFamous/sojourn/poster/' + id, {login: true})
|
||||||
}
|
}
|
||||||
|
// 分享旅居1
|
||||||
|
export function postTravelShare(id) {
|
||||||
|
return request.get('/travel/poster/' + id, {login: true})
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* 获取旅居列表
|
* 获取旅居列表
|
||||||
* countyId int 县城ID
|
* countyId int 县城ID
|
||||||
|
|||||||
@@ -350,7 +350,7 @@ import {
|
|||||||
postJiaLouNewsView,
|
postJiaLouNewsView,
|
||||||
postJiaLouNewsZan,
|
postJiaLouNewsZan,
|
||||||
postJiaLouZan,
|
postJiaLouZan,
|
||||||
postJiaLouShare,
|
postTravelShare,
|
||||||
getJiaLouProductList,
|
getJiaLouProductList,
|
||||||
getJiaLouStewardList,
|
getJiaLouStewardList,
|
||||||
getJiaLouNewsList
|
getJiaLouNewsList
|
||||||
@@ -540,7 +540,7 @@ export default {
|
|||||||
},
|
},
|
||||||
changeShare() {
|
changeShare() {
|
||||||
uni.showLoading()
|
uni.showLoading()
|
||||||
postJiaLouShare(this.id).then(res => {
|
postTravelShare(this.id).then(res => {
|
||||||
this.posterUrl = res.data
|
this.posterUrl = res.data
|
||||||
this.showShare = !this.showShare
|
this.showShare = !this.showShare
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user