马宇豪
2023-12-04 216f377862182c94471c0b452977ac7b4a113a9f
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
    })