feat: 添加api文件夹以及api公共类型
parent
98098c75a4
commit
2b97f0fe9d
@ -0,0 +1,9 @@
|
||||
interface Pagination {
|
||||
size?: number
|
||||
current?: number
|
||||
total?: number
|
||||
}
|
||||
|
||||
interface BaseID {
|
||||
id?: string
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
import { defHttp } from '~/utils/http'
|
||||
|
||||
export function login() {
|
||||
defHttp.post({
|
||||
url: '/api/auth/login',
|
||||
})
|
||||
}
|
Loading…
Reference in New Issue