46b6767c
刘淇
init 提交到库
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 开发者环境:开|关
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 **/
|
d38470aa
刘淇
地址解析为经纬度
|
16
|
// https://yuanlin.jichengshanshui.com.cn:8987
|
46b6767c
刘淇
init 提交到库
|
17
18
19
20
|
const baseURLMap = {
// 开发环境
development: 'https://test.jichengshanshui.com.cn:28303',
// 生产环境
|
21397afd
刘淇
树 新增
|
21
22
23
|
// production: IS_H5 ? location.origin : 'http://125.35.93.94:8986'
// 生产环境
production: IS_H5 ? location.origin : 'https://test.jichengshanshui.com.cn:28303'
|
46b6767c
刘淇
init 提交到库
|
24
25
|
}
|
d38470aa
刘淇
地址解析为经纬度
|
26
27
|
|
46b6767c
刘淇
init 提交到库
|
28
29
30
31
32
33
|
/** 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'
|
c7744156
刘淇
录入树木
|
34
|
export const uploadURL = baseURL + '/ylapi/yuanl/common/upload'
|
46b6767c
刘淇
init 提交到库
|
35
|
// export const OSSURL = baseURL + '/yuanlin/'
|
d38470aa
刘淇
地址解析为经纬度
|
36
37
38
|
export const OSSURL = 'https://test.jichengshanshui.com.cn:28310/yuanlin/'
// https://yuanlin.jichengshanshui.com.cn:8987/yuanlin/
|