1
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user