mirror of
https://github.com/fumiama/paper-manager.git
synced 2026-06-12 12:10:25 +08:00
add /api/getMessageList
This commit is contained in:
10
frontend/vben/src/api/dashboard/index.ts
Normal file
10
frontend/vben/src/api/dashboard/index.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { defHttp } from '/@/utils/http/axios'
|
||||
import { MessageItem } from './model/workbenchModel'
|
||||
|
||||
enum Api {
|
||||
GetMessageList = '/getMessageList',
|
||||
}
|
||||
|
||||
export const getMessageList = () => {
|
||||
return defHttp.get<MessageItem[]>({ url: Api.GetMessageList })
|
||||
}
|
||||
Reference in New Issue
Block a user