From 216f377862182c94471c0b452977ac7b4a113a9f Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Mon, 04 Dec 2023 09:16:58 +0800
Subject: [PATCH] 新增
---
src/api/home/homePage.js | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/api/home/homePage.js b/src/api/home/homePage.js
index 4a7e564..20ec8e8 100644
--- a/src/api/home/homePage.js
+++ b/src/api/home/homePage.js
@@ -3,7 +3,7 @@
// 获取分页
export function getNotice(params) {
return request({
- url: '/system/notice/noticeList',
+ url: '/notice/noticeList',
method: 'get',
params: params
})
@@ -12,7 +12,7 @@
// 获取详情
export function getNoticeDetails(params) {
return request({
- url: '/system/notice/getNoticeById',
+ url: '/notice/getNoticeById',
method: 'get',
params: params
})
@@ -21,7 +21,7 @@
// 获取分页
export function getLaws(params) {
return request({
- url: '/system/law/lawList',
+ url: '/law/lawList',
method: 'get',
params: params
})
@@ -30,7 +30,7 @@
// 获取详情
export function getLawsDetails(params) {
return request({
- url: '/system/law/getLawById',
+ url: '/law/getLawById',
method: 'get',
params: params
})
@@ -39,7 +39,7 @@
// 获取分页
export function getPublish(params) {
return request({
- url: '/system/agency/agencyList',
+ url: '/agency/agencyList',
method: 'get',
params: params
})
@@ -48,7 +48,7 @@
// 获取详情
export function getPublishDetails(params) {
return request({
- url: '/system/agency/getAgencyById',
+ url: '/agency/getAgencyById',
method: 'get',
params: params
})
--
Gitblit v1.9.2