他人页

This commit is contained in:
2025-09-15 17:30:48 +08:00
parent 91636855aa
commit 7a0bc71f9f
10 changed files with 227 additions and 167 deletions

View File

@@ -3,25 +3,25 @@ import envConfig from './env'// API配置
export const API_CONFIG = {
// 基础URL
BASE_URL: envConfig.apiBaseURL,
// 用户相关接口
USER: {
DETAIL: '/user/detail',
UPDATE: '/user/update',
FOLLOW: '/user/follow',
UNFOLLOW: '/user/unfollow',
FOLLOW: '/wch_users/follow',
UNFOLLOW: '/wch_users/unfollow',
HOSTED_GAMES: '/user/games',
PARTICIPATED_GAMES: '/user/participated',
PARSE_PHONE: '/user/parse_phone',
},
// 文件上传接口
UPLOAD: {
AVATAR: '/gallery/upload',
IMAGE: '/gallery/upload',
OSS_IMG: '/gallery/upload_oss_img'
},
// 球局相关接口
GAME: {
LIST: '/game/list',
@@ -38,4 +38,4 @@ export const REQUEST_CONFIG = {
header: {
'Content-Type': 'application/json'
}
};
};