Files
airz-uniapp/services/config.uts
T

9 lines
629 B
Plaintext
Raw Normal View History

// 当前仅使用既有正式服务器;小程序从当前源码重新编译后由用户发行。
// 本机联调副本显式使用 development,test 留空,不自动切换其他环境。
export const APP_ENVIRONMENT: string = 'production' as string
const DEVELOPMENT_API_URL = 'http://127.0.0.1:18580/api/v1'
const TEST_API_URL = ''
const PRODUCTION_API_URL = 'https://airz.hqling.cloud/api/v1'
export const API_BASE_URL = APP_ENVIRONMENT == 'development' ? DEVELOPMENT_API_URL : (APP_ENVIRONMENT == 'test' ? TEST_API_URL : (APP_ENVIRONMENT == 'production' ? PRODUCTION_API_URL : ''))
export const API_DEMO_ENABLED = false