发布球局

This commit is contained in:
筱野
2025-08-23 15:14:37 +08:00
parent e5176f4f5f
commit fb150617c6
34 changed files with 679 additions and 602 deletions

View File

@@ -7,7 +7,6 @@ export type EnvType = 'development' | 'test' | 'production'
export interface EnvConfig {
name: string
apiBaseURL: string
apiVersion: string
timeout: number
enableLog: boolean
enableMock: boolean
@@ -18,8 +17,7 @@ const envConfigs: Record<EnvType, EnvConfig> = {
// 开发环境
development: {
name: '开发环境',
apiBaseURL: 'https://dev-api.playballtogether.com',
apiVersion: 'v1',
apiBaseURL: 'https://sit.light120.com',
timeout: 15000,
enableLog: true,
enableMock: true
@@ -28,8 +26,7 @@ const envConfigs: Record<EnvType, EnvConfig> = {
// 测试环境
test: {
name: '测试环境',
apiBaseURL: 'https://test-api.playballtogether.com',
apiVersion: 'v1',
apiBaseURL: 'https://sit.light120.com',
timeout: 12000,
enableLog: true,
enableMock: false
@@ -38,8 +35,7 @@ const envConfigs: Record<EnvType, EnvConfig> = {
// 生产环境
production: {
name: '生产环境',
apiBaseURL: 'https://api.playballtogether.com',
apiVersion: 'v1',
apiBaseURL: 'https://sit.light120.com',
timeout: 10000,
enableLog: false,
enableMock: false