2025-10-23

支付页面
This commit is contained in:
2025-10-23 10:18:06 +08:00
parent 12910d0a1d
commit 1f4c2c75eb
18 changed files with 581 additions and 113 deletions

View File

@@ -2,6 +2,8 @@ import {
http
} from "../util/api"
const baseURL = "http://192.168.0.4:3000/api"
// 用户相关API
export const userAPI = {
// 获取用户列表
@@ -19,7 +21,9 @@ export const userAPI = {
delete: (id) => http.delete(`/users/${id}`),
// 获取用户统计
getStats: () => http.get('/users/stats/overview')
getStats: () => http.get('/users/stats/overview'),
getProfile: () => http.get(baseURL + '/user/profile')
}
export default {