优化接口文件结构

更新接口文件
This commit is contained in:
tao
2025-12-23 13:37:06 +08:00
parent 90d6b542ee
commit 7025a5304f
8 changed files with 494 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
import request from '../request'
import request from '@/api/request'
import type { LoginInfo } from './model';
// 用户登录
@@ -16,4 +16,12 @@ export function getCaptcha() {
url: '/captchaImage',
method: 'get'
})
}
}
// 退出登录
export function logout() {
return request({
url: '/logout',
method: 'post'
})
}