1. 添加线上环境相应配置
2. 切换环境至pre
This commit is contained in:
parent
3355a68007
commit
bbbbc9ecdd
@ -1,6 +1,6 @@
|
|||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
|
|
||||||
const version = '1.0.0.0'
|
const version = '1.0.0'
|
||||||
|
|
||||||
const DEV = {
|
const DEV = {
|
||||||
name: '开发',
|
name: '开发',
|
||||||
@ -17,9 +17,10 @@ const PRE = {
|
|||||||
|
|
||||||
const PROD = {
|
const PROD = {
|
||||||
name: '线上',
|
name: '线上',
|
||||||
baseUrl: '',
|
baseUrl: 'https://lock.xhjcn.ltd/api',
|
||||||
|
webviewBaseUrl: 'https://lock.xhjcn.ltd',
|
||||||
version: version
|
version: version
|
||||||
}
|
}
|
||||||
|
|
||||||
// 更换环境的时候 切换导出就行
|
// 更换环境的时候 切换导出就行
|
||||||
export default DEV
|
export default PRE
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user