This commit is contained in:
张成
2025-09-07 18:22:07 +08:00
parent 98bf0fbe13
commit 45f85a8572
12 changed files with 72 additions and 858 deletions

View File

@@ -1,7 +1,8 @@
// API配置
import envConfig from './env'// API配置
export const API_CONFIG = {
// 基础URL
BASE_URL: process.env.NODE_ENV === 'development' ? 'http://localhost:3000' : 'https://api.example.com',
BASE_URL: envConfig.apiBaseURL,
// 用户相关接口
USER: {