From e4233b5c4e123c4b79a38d0a9b0c8b60631e1683 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期二, 30 七月 2024 10:40:24 +0800
Subject: [PATCH] update

---
 pages/home/home.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/pages/home/home.vue b/pages/home/home.vue
index 25f867a..539d789 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -226,14 +226,15 @@
 				
 			},2000)
 			//公告
-			this.$http.request('get', '/api/announcement/page', {
+			this.$http.request('get', '/api/pub/announcement/list', {
 				params: {
 					size: 5,
-					status: 'A'
+					// status: 'A'
 				}
 			}).then(res => {
-				if (res.code === 0) {
-					this.noticeList = (res.data && res.data.records || [])
+				if (res.code === 0) {
+					// (res.data && res.data.records || [])
+					this.noticeList =  res.data || []
 					console.log('this.noticeList', this.noticeList)
 					if (this.noticeList.length > 0) {
 						this.currentNotice = this.noticeList[0]
@@ -281,7 +282,7 @@
 			buttonSearchFlow() {
 				console.log('buttonSearchFlow')
 				uni.navigateTo({
-					url: '/sub_pages/trade/list?name=' + this.search_flow
+					url: '/sub_pages/customer/trade/list?name=' + this.search_flow
 				})
 			},
 			pop(status) {

--
Gitblit v1.9.3