refactor: vxe crud
This commit is contained in:
@@ -1,8 +1,24 @@
|
||||
import request from '@/config/axios'
|
||||
import type { NoticeVO } from './types'
|
||||
export interface NoticeVO {
|
||||
id: number
|
||||
title: string
|
||||
type: number
|
||||
content: string
|
||||
status: number
|
||||
remark: string
|
||||
creator: string
|
||||
createTime: string
|
||||
updater: string
|
||||
updateTime: string
|
||||
}
|
||||
|
||||
export interface NoticePageReqVO extends BasePage {
|
||||
title?: string
|
||||
status?: number
|
||||
}
|
||||
|
||||
// 查询公告列表
|
||||
export const getNoticePageApi = (params) => {
|
||||
export const getNoticePageApi = (params: NoticePageReqVO) => {
|
||||
return request.get({ url: '/system/notice/page', params })
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user