1. 添加线上环境相应配置

2. 切换环境至pre
This commit is contained in:
范鹏 2024-08-30 14:53:28 +08:00
parent 3355a68007
commit bbbbc9ecdd

View File

@ -1,6 +1,6 @@
import request from '@/utils/request'
const version = '1.0.0.0'
const version = '1.0.0'
const DEV = {
name: '开发',
@ -17,9 +17,10 @@ const PRE = {
const PROD = {
name: '线上',
baseUrl: '',
baseUrl: 'https://lock.xhjcn.ltd/api',
webviewBaseUrl: 'https://lock.xhjcn.ltd',
version: version
}
// 更换环境的时候 切换导出就行
export default DEV
export default PRE