app.js 802 Bytes
// 开发者环境:开|关
const SWITCH_DEVELOPMENT = true

/** S 是否H5端 **/
// #ifdef H5
const IS_H5 = true
// #endif

// #ifndef H5
const IS_H5 = false
// #endif
/** E 是否H5端 **/


/** S API BaseURL **/
const baseURLMap = {
	// 开发环境
	development: 'https://test.jichengshanshui.com.cn:28303',
	// 生产环境
	production: IS_H5 ? location.origin : 'http://125.35.93.94:8986'
}

/** E API BaseURL **/
export const baseURL = SWITCH_DEVELOPMENT ? baseURLMap['development'] : baseURLMap['production']

export const version = '1.0.6'

// export const uploadURL = baseURL + '/ylapi/yuanl/common/upload'
export const uploadURL = baseURL + '/yuanl/yuanl/common/upload'
// export const OSSURL = baseURL + '/yuanlin/'
export const OSSURL = 'https://dev-rnt.oss-cn-zhangjiakou.aliyuncs.com/'