From e312d5fcded7492d434d3bab48d31f0c3fc1dbfb Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期四, 30 十一月 2023 15:44:19 +0800
Subject: [PATCH] 新增

---
 src/api/home/homePage.js |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/src/api/home/homePage.js b/src/api/home/homePage.js
index eba3b5d..4a7e564 100644
--- a/src/api/home/homePage.js
+++ b/src/api/home/homePage.js
@@ -9,6 +9,15 @@
     })
 }
 
+// 获取详情
+export function getNoticeDetails(params) {
+    return request({
+        url: '/system/notice/getNoticeById',
+        method: 'get',
+        params: params
+    })
+}
+
 // 获取分页
 export function getLaws(params) {
     return request({
@@ -18,6 +27,15 @@
     })
 }
 
+// 获取详情
+export function getLawsDetails(params) {
+    return request({
+        url: '/system/law/getLawById',
+        method: 'get',
+        params: params
+    })
+}
+
 // 获取分页
 export function getPublish(params) {
     return request({
@@ -25,4 +43,13 @@
         method: 'get',
         params: params
     })
+}
+
+// 获取详情
+export function getPublishDetails(params) {
+    return request({
+        url: '/system/agency/getAgencyById',
+        method: 'get',
+        params: params
+    })
 }
\ No newline at end of file

--
Gitblit v1.9.2