|
@@ -1,10 +1,10 @@
|
|
|
<script>
|
|
|
- const uat_domain = 'https://cust.test.sxzxyj.net' // 预发布
|
|
|
- // const uat_domain = 'http://192.168.16.213:8308' // 本地
|
|
|
+ // const uat_domain = 'https://cust.test.sxzxyj.net' // 预发布
|
|
|
+ const uat_domain = 'http://192.168.16.213:8308' // 本地
|
|
|
const pro_domain = 'https://cust.sxzxyj.net' // 生产
|
|
|
const uat_URL = uat_domain+'/gc-cust/' // 预发布
|
|
|
const pro_URL = pro_domain+'/gc-cust/' // 生产
|
|
|
- const buildType = 0 // 打包环境对应类型,1 生产 0 预发布
|
|
|
+ const buildType = 1 // 打包环境对应类型,1 生产 0 预发布
|
|
|
const buildURL = buildType ? pro_URL : uat_URL // 打包后实际对应的url
|
|
|
const envText = ['预发布环境','生产环境']
|
|
|
const envTips = process.env.NODE_ENV == 'development' ? envText[0] : envText[buildType]
|