修改10配置
This commit is contained in:
+29
-6
@@ -1,4 +1,5 @@
|
|||||||
/* @description: 通用配置
|
2月6日 13:53登录GitLab 中文社区版已查看http://git.hzwlsoft.com/已读刚刚10:53/**
|
||||||
|
* @description: 通用配置
|
||||||
* @author: chenxiaoxi
|
* @author: chenxiaoxi
|
||||||
* @date: 2018-09-04 17:47:46
|
* @date: 2018-09-04 17:47:46
|
||||||
*/
|
*/
|
||||||
@@ -6,10 +7,10 @@
|
|||||||
// const devIp = '39.98.140.126'
|
// const devIp = '39.98.140.126'
|
||||||
// const devInterfacePORT = '4202'
|
// const devInterfacePORT = '4202'
|
||||||
// const devIp = '192.168.1.42'
|
// const devIp = '192.168.1.42'
|
||||||
// const devInterfacePORT = '9999'
|
const devInterfacePORT = '9999'
|
||||||
const devIp = '10.10.10.46'
|
const devIp = '10.10.10.46'
|
||||||
const interfacePORT = '4202'
|
const devInterfacePORT = '4202'
|
||||||
// const devIp = '10.0.3.11'
|
// // const devIp = '10.0.3.10'
|
||||||
// const devIp = 'localhost'
|
// const devIp = 'localhost'
|
||||||
// const devInterfacePORT = '10086'
|
// const devInterfacePORT = '10086'
|
||||||
// const devIp = '62.234.136.153'
|
// const devIp = '62.234.136.153'
|
||||||
@@ -22,12 +23,30 @@ const devWebUrl = 'http://62.234.136.153:8038/#/'
|
|||||||
const webLoginType = 'dev'
|
const webLoginType = 'dev'
|
||||||
|
|
||||||
// 配置onlyOffice 前端服务
|
// 配置onlyOffice 前端服务
|
||||||
// const onlyOfficeUrl = 'http://127.0.0.1:8080'
|
const onlyOfficeUrl = 'http://127.0.0.1:8080'
|
||||||
const onlyOfficeUrl = 'http://10.10.10.46:8103'
|
// const onlyOfficeUrl = 'http://10.10.10.46:8103'
|
||||||
|
|
||||||
// 云端端口号
|
// 云端端口号
|
||||||
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
const DEV_CLOUD_RES_INTERFACE_PORT = '7777'
|
||||||
|
const simpleFilePath = 'att/attFile/upload'
|
||||||
|
const multipleFilePath = 'att/attFile/uploadFiles'
|
||||||
|
const staticFilePath = '192.168.10.140:10010'
|
||||||
|
// const staticFilePath = '106.2.13.189:8888'
|
||||||
|
const staticPDFPath = '192.168.7.140'
|
||||||
|
const webSocket = '192.168.7.178'
|
||||||
|
// const enterprise = ''
|
||||||
|
const enterprise = 'SJZX'
|
||||||
|
const theme = 'theme-one' // 主题(theme-one浅蓝色,theme-two深蓝色)
|
||||||
|
const processPort = '17210'
|
||||||
|
/*****************************************************************
|
||||||
|
|
||||||
|
<<<<<<<<< 主题修改 >>>>>>>>>
|
||||||
|
|
||||||
|
1. 主题分为theme-one,theme-two两种
|
||||||
|
2. 修改assets/styles/style.less文件,注释theme-one/theme-two
|
||||||
|
3. 将上方theme改为theme-one/theme-two
|
||||||
|
|
||||||
|
*****************************************************************/
|
||||||
// 生产环境配置
|
// 生产环境配置
|
||||||
// const prodIp = '39.98.140.126'
|
// const prodIp = '39.98.140.126'
|
||||||
// const prodInterfacePORT = '4201'
|
// const prodInterfacePORT = '4201'
|
||||||
@@ -38,6 +57,7 @@ const prodInterfacePORT = '4202'
|
|||||||
|
|
||||||
// 判断环境
|
// 判断环境
|
||||||
const serverIP = process.env.NODE_ENV === 'production' ? prodIp : devIp
|
const serverIP = process.env.NODE_ENV === 'production' ? prodIp : devIp
|
||||||
|
const interfacePORT = process.env.NODE_ENV === 'production' ? prodInterfacePORT : devInterfacePORT
|
||||||
const CLOUD_RES_INTERFACE_PORT = process.env.NODE_ENV === 'production' ? DEV_CLOUD_RES_INTERFACE_PORT : DEV_CLOUD_RES_INTERFACE_PORT
|
const CLOUD_RES_INTERFACE_PORT = process.env.NODE_ENV === 'production' ? DEV_CLOUD_RES_INTERFACE_PORT : DEV_CLOUD_RES_INTERFACE_PORT
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
@@ -52,6 +72,9 @@ module.exports = {
|
|||||||
cloudResInterFaceUrl: 'http://' + serverIP + ':' + interfacePORT + '/busApi/', // 云端资源库服务器端接口访问地址,
|
cloudResInterFaceUrl: 'http://' + serverIP + ':' + interfacePORT + '/busApi/', // 云端资源库服务器端接口访问地址,
|
||||||
simpleUploadPath: 'api/' + simpleFilePath, // 单文件上传地址
|
simpleUploadPath: 'api/' + simpleFilePath, // 单文件上传地址
|
||||||
multipleUploadPath: 'api/' + multipleFilePath, // 多文件上传地址
|
multipleUploadPath: 'api/' + multipleFilePath, // 多文件上传地址
|
||||||
|
staticFilePath: 'http://' + staticFilePath,
|
||||||
|
staticPDFPath: 'http://' + staticPDFPath,
|
||||||
|
webSocket: webSocket + ':' + devInterfacePORT + '/websocket/socketServer', // webSocket连接
|
||||||
enterprise: enterprise, // GQ广汽 SJZX数据中心
|
enterprise: enterprise, // GQ广汽 SJZX数据中心
|
||||||
theme: theme, // 主题
|
theme: theme, // 主题
|
||||||
processInterfaceURL: `http://${serverIP}:${processPort}/bat-wkflow`
|
processInterfaceURL: `http://${serverIP}:${processPort}/bat-wkflow`
|
||||||
|
|||||||
Reference in New Issue
Block a user