This commit is contained in:
2026-06-16 10:45:14 +08:00
parent 5b53e33e27
commit 2dd1ef77cb
4 changed files with 16 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
import { requestClient } from '@/api/request'
/** 账户信息 */
interface IAccountInfo {
id: number
username: string
}
/** 获取账户信息 */
function getAccountInfo() {
return requestClient.get<IAccountInfo>('/account')
}