From 11098619348e803a15ed7c09c7a8d91a5bb113c6 Mon Sep 17 00:00:00 2001 From: LinCyJang Date: Mon, 8 Dec 2025 21:58:57 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A4375=20=E3=80=90=E6=97=85=E5=B1=85?= =?UTF-8?q?=E5=95=86=E5=9F=8E=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E6=97=85?= =?UTF-8?q?=E5=B1=85=E5=95=86=E5=AE=B6=E4=B8=BB=E9=A1=B5=E5=88=86=E4=BA=AB?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/qianxian.js | 5 ++++- pkg_product/views/sojoumStore.vue | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/api/qianxian.js b/api/qianxian.js index e981a3a..ae02d43 100644 --- a/api/qianxian.js +++ b/api/qianxian.js @@ -153,7 +153,10 @@ export function postJiaLouNewsZan(data) { export function postJiaLouShare(id) { 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 diff --git a/pkg_product/views/sojoumStore.vue b/pkg_product/views/sojoumStore.vue index 1198ff0..4b94765 100644 --- a/pkg_product/views/sojoumStore.vue +++ b/pkg_product/views/sojoumStore.vue @@ -350,7 +350,7 @@ import { postJiaLouNewsView, postJiaLouNewsZan, postJiaLouZan, - postJiaLouShare, + postTravelShare, getJiaLouProductList, getJiaLouStewardList, getJiaLouNewsList @@ -540,7 +540,7 @@ export default { }, changeShare() { uni.showLoading() - postJiaLouShare(this.id).then(res => { + postTravelShare(this.id).then(res => { this.posterUrl = res.data this.showShare = !this.showShare }).finally(() => {