diff --git a/Utils/Api.js b/Utils/Api.js
index 5365596..bb2d990 100644
--- a/Utils/Api.js
+++ b/Utils/Api.js
@@ -171,8 +171,8 @@ export const getDiscountByCode = params => {
//站内信列表
-export const queryMsgByList = params => {
- return POST('GET', `${base}/bsMsg/queryMsgByList`, params).then(res => res.data);
+export const getMsgByList = params => {
+ return POST('GET', `${base}//bsMsg/getMsgByList`, params).then(res => res.data);
}
// 根据优惠券查卡券
export const getCouponByDiscount = params => {
diff --git a/pages/user/news/news.vue b/pages/user/news/news.vue
index 30ae517..7821e81 100644
--- a/pages/user/news/news.vue
+++ b/pages/user/news/news.vue
@@ -3,14 +3,14 @@
- {{item.codeName}}
+ v-for="(item,index) in newsTyplist" :key="index" @click="changeValue(item.codeValue)">
+ {{item.codeName}}
+
-
-
+
+
@@ -35,7 +35,7 @@
- {{item.title}}
+ {{item.title}}
¥{{item.content | msgFormat('price')}}
@@ -73,7 +73,7 @@