From 3f6bf89b1985b6668f02ffcc9af577b412e92e45 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期一, 24 三月 2025 17:17:45 +0800
Subject: [PATCH] bug修改

---
 src/api/home/homePage.js |   33 ++++++++++++++++++++++++++++++---
 1 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/src/api/home/homePage.js b/src/api/home/homePage.js
index eba3b5d..20ec8e8 100644
--- a/src/api/home/homePage.js
+++ b/src/api/home/homePage.js
@@ -3,7 +3,16 @@
 // 获取分页
 export function getNotice(params) {
     return request({
-        url: '/system/notice/noticeList',
+        url: '/notice/noticeList',
+        method: 'get',
+        params: params
+    })
+}
+
+// 获取详情
+export function getNoticeDetails(params) {
+    return request({
+        url: '/notice/getNoticeById',
         method: 'get',
         params: params
     })
@@ -12,7 +21,16 @@
 // 获取分页
 export function getLaws(params) {
     return request({
-        url: '/system/law/lawList',
+        url: '/law/lawList',
+        method: 'get',
+        params: params
+    })
+}
+
+// 获取详情
+export function getLawsDetails(params) {
+    return request({
+        url: '/law/getLawById',
         method: 'get',
         params: params
     })
@@ -21,7 +39,16 @@
 // 获取分页
 export function getPublish(params) {
     return request({
-        url: '/system/agency/agencyList',
+        url: '/agency/agencyList',
+        method: 'get',
+        params: params
+    })
+}
+
+// 获取详情
+export function getPublishDetails(params) {
+    return request({
+        url: '/agency/getAgencyById',
         method: 'get',
         params: params
     })

--
Gitblit v1.9.2