diff --git a/pkg_product/views/newsInfo.vue b/pkg_product/views/newsInfo.vue index 008bb87..1705ea6 100644 --- a/pkg_product/views/newsInfo.vue +++ b/pkg_product/views/newsInfo.vue @@ -53,7 +53,7 @@ import { getCommentList, addComment } from "@/api/inn" -import { getCityNewsDetail, postCountyFamousShopZan } from "@/api/qianxian" +import { getCityNewsDetail, postCountyFamousNewsZan } from "@/api/qianxian" import imgBox from '@/components/imageTypeSet/imagebox.vue' export default { components: { @@ -341,7 +341,7 @@ export default { uni.showLoading({ mask: true }) - postCountyFamousShopZan({ countyFamousDataId: this.id }).then((res) => { + postCountyFamousNewsZan({ countyFamousNewsId: this.id }).then((res) => { uni.hideLoading() getCityNewsDetail(this.id).then(({ data }) => (this.item = data)) })