配置h5产线环境
This commit is contained in:
parent
6989d93f17
commit
ca87548250
130
config.js
130
config.js
|
|
@ -1,20 +1,20 @@
|
|||
// 产线
|
||||
// module.exports = {
|
||||
// // http://192.168.0.14:19999
|
||||
// loginBaseUrl: 'http://112.29.103.165:1616',
|
||||
// baseUrl: 'http://112.29.103.165:1616/exam',
|
||||
// // login: 'http://112.29.103.165:1616',
|
||||
// login: 'http://112.29.103.165:1616/exam/exam-auth/',
|
||||
// // 图片展示基础地址
|
||||
// fileUrl: 'http://112.29.103.165:1616/exam-file/',
|
||||
// // 上传文件地址
|
||||
// uploadUrl: 'http://112.29.103.165:1616/exam-file/file/uploadBase64',
|
||||
// bmwUrl: 'http://112.29.103.165:1616/exam-bmw',
|
||||
// // 体检-基础路径
|
||||
// tjBaseUrl: 'http://112.29.103.165:1616/AppPeaManager',
|
||||
// tjFile: 'http://112.29.103.165:1616/medicalDocumentation/statics/',
|
||||
module.exports = {
|
||||
// http://192.168.0.14:19999
|
||||
loginBaseUrl: 'http://112.29.103.165:1616',
|
||||
baseUrl: 'http://112.29.103.165:1616/exam',
|
||||
// login: 'http://112.29.103.165:1616',
|
||||
login: 'http://112.29.103.165:1616/exam/exam-auth/',
|
||||
// 图片展示基础地址
|
||||
fileUrl: 'http://112.29.103.165:1616/exam-file/',
|
||||
// 上传文件地址
|
||||
uploadUrl: 'http://112.29.103.165:1616/exam-file/file/uploadBase64',
|
||||
bmwUrl: 'http://112.29.103.165:1616/exam-bmw',
|
||||
// 体检-基础路径
|
||||
tjBaseUrl: 'http://112.29.103.165:1616/AppPeaManager',
|
||||
tjFile: 'http://112.29.103.165:1616/medicalDocumentation/statics/',
|
||||
|
||||
// //实名制移动端-登录接口
|
||||
//实名制移动端-登录接口
|
||||
// realLoginUrl: 'http://192.168.0.14:9200/',
|
||||
// //实名制移动端-移动
|
||||
// realAppUrl: 'http://192.168.0.14:1913/app',
|
||||
|
|
@ -29,56 +29,6 @@
|
|||
// //实名制移动端 -- 新
|
||||
// realNewYnUrl: 'http://192.168.0.14:1918',
|
||||
|
||||
// // 应用信息
|
||||
// appInfo: {
|
||||
// // 应用名称
|
||||
// name: '作业管控智慧平台',
|
||||
// // 应用版本
|
||||
// version: '1.1.0'
|
||||
// }
|
||||
// }
|
||||
// 测试环境
|
||||
module.exports = {
|
||||
// baseUrl:'/prod-api',
|
||||
// http://192.168.0.14:19999
|
||||
// loginBaseUrl: 'http://112.29.103.165:1616',
|
||||
loginBaseUrl: 'http://192.168.0.14:27018',
|
||||
// loginBaseUrl:'http://192.168.0.14:19999',
|
||||
// baseUrl:'http://192.168.0.14:2900',
|
||||
baseUrl: 'http://192.168.0.14:19999',
|
||||
// loginUrl: 'http://112.29.103.165:1616',
|
||||
login: 'http://192.168.0.14:19200',
|
||||
// 图片展示基础地址
|
||||
fileUrl: 'http://192.168.0.14:19999/exam-file/',
|
||||
// 上传文件地址
|
||||
uploadUrl: 'http://192.168.0.14:19999/exam-file/file/uploadBase64',
|
||||
bmwUrl: 'http://192.168.0.14:19999/exam-bmw',
|
||||
// 体检-基础路径
|
||||
tjBaseUrl: 'http://192.168.0.14:18077/AppPeaManager',
|
||||
// tjBaseUrl: 'http://192.168.2.91:19100/AppPeaManager',
|
||||
tjFile: 'http://192.168.0.14:18077/medicalDocumentation/statics/',
|
||||
|
||||
//实名制移动端-登录接口
|
||||
realLoginUrl: 'http://192.168.0.14:1616/auth/',
|
||||
realBaseUrl: 'http://192.168.0.14:1910/',
|
||||
//实名制移动端-移动
|
||||
realAppUrl: 'http://192.168.0.14:1913/app',
|
||||
//实名制移动端-安培
|
||||
realExamUrl: 'http://192.168.0.14:1616/system',
|
||||
//实名制移动端-文件
|
||||
realFileUrl: 'http://192.168.0.14:1909/file/',
|
||||
//实名制移动端
|
||||
realBmwUrl: 'http://192.168.0.14:1616/bmw',
|
||||
//实名制移动端 -- 新
|
||||
realNewBmwUrl: 'http://192.168.0.14:1616',
|
||||
loginUrl: 'http://192.168.0.14:27018',
|
||||
//实名制移动端 -- 新
|
||||
realNewYnUrl: 'http://192.168.0.14:1918',
|
||||
realIdCardUrl: 'http://192.168.0.14:26699',
|
||||
|
||||
//作业计划 -- 新
|
||||
workPlanNewYnUrl: 'http://192.168.0.14:19191',
|
||||
|
||||
// 应用信息
|
||||
appInfo: {
|
||||
// 应用名称
|
||||
|
|
@ -87,3 +37,53 @@ module.exports = {
|
|||
version: '1.1.0'
|
||||
}
|
||||
}
|
||||
// 测试环境
|
||||
// module.exports = {
|
||||
// // baseUrl:'/prod-api',
|
||||
// // http://192.168.0.14:19999
|
||||
// // loginBaseUrl: 'http://112.29.103.165:1616',
|
||||
// loginBaseUrl: 'http://192.168.0.14:27018',
|
||||
// // loginBaseUrl:'http://192.168.0.14:19999',
|
||||
// // baseUrl:'http://192.168.0.14:2900',
|
||||
// baseUrl: 'http://192.168.0.14:19999',
|
||||
// // loginUrl: 'http://112.29.103.165:1616',
|
||||
// login: 'http://192.168.0.14:19200',
|
||||
// // 图片展示基础地址
|
||||
// fileUrl: 'http://192.168.0.14:19999/exam-file/',
|
||||
// // 上传文件地址
|
||||
// uploadUrl: 'http://192.168.0.14:19999/exam-file/file/uploadBase64',
|
||||
// bmwUrl: 'http://192.168.0.14:19999/exam-bmw',
|
||||
// // 体检-基础路径
|
||||
// tjBaseUrl: 'http://192.168.0.14:18077/AppPeaManager',
|
||||
// // tjBaseUrl: 'http://192.168.2.91:19100/AppPeaManager',
|
||||
// tjFile: 'http://192.168.0.14:18077/medicalDocumentation/statics/',
|
||||
|
||||
// //实名制移动端-登录接口
|
||||
// realLoginUrl: 'http://192.168.0.14:1616/auth/',
|
||||
// realBaseUrl: 'http://192.168.0.14:1910/',
|
||||
// //实名制移动端-移动
|
||||
// realAppUrl: 'http://192.168.0.14:1913/app',
|
||||
// //实名制移动端-安培
|
||||
// realExamUrl: 'http://192.168.0.14:1616/system',
|
||||
// //实名制移动端-文件
|
||||
// realFileUrl: 'http://192.168.0.14:1909/file/',
|
||||
// //实名制移动端
|
||||
// realBmwUrl: 'http://192.168.0.14:1616/bmw',
|
||||
// //实名制移动端 -- 新
|
||||
// realNewBmwUrl: 'http://192.168.0.14:1616',
|
||||
// loginUrl: 'http://192.168.0.14:27018',
|
||||
// //实名制移动端 -- 新
|
||||
// realNewYnUrl: 'http://192.168.0.14:1918',
|
||||
// realIdCardUrl: 'http://192.168.0.14:26699',
|
||||
|
||||
// //作业计划 -- 新
|
||||
// workPlanNewYnUrl: 'http://192.168.0.14:19191',
|
||||
|
||||
// // 应用信息
|
||||
// appInfo: {
|
||||
// // 应用名称
|
||||
// name: '作业管控智慧平台',
|
||||
// // 应用版本
|
||||
// version: '1.1.0'
|
||||
// }
|
||||
// }
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ import errorCode from '@/utils/errorCode'
|
|||
import { toast, showConfirm, tansParams } from '@/utils/common'
|
||||
|
||||
let timeout = 60000
|
||||
// const baseUrl = config.loginBaseUrl
|
||||
const baseUrl = config.loginUrl
|
||||
const baseUrl = config.loginBaseUrl
|
||||
// const baseUrl = config.loginUrl
|
||||
console.log('baseUrl-请求', baseUrl)
|
||||
|
||||
const request = config => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue