1
0
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:
源文雨
2023-03-19 18:12:37 +08:00
parent e1ae032ceb
commit bee5caaadc
7 changed files with 134 additions and 105 deletions

View 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 })
}