Compare commits
2 Commits
abd89f6eeb
...
47ba0c8b14
Author | SHA1 | Date |
---|---|---|
wuhongjian | 47ba0c8b14 | |
wuhongjian | c6c2fa57cc |
|
@ -1,8 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* @Author: hisense.wuhongjian
|
* @Author: hisense.wuhongjian
|
||||||
* @Date: 2022-08-25 14:37:49
|
* @Date: 2022-08-25 14:37:49
|
||||||
* @LastEditors: Light
|
* @LastEditors: hisense.wuhongjian
|
||||||
* @LastEditTime: 2022-11-01 09:20:12
|
* @LastEditTime: 2022-11-01 15:37:21
|
||||||
* @Description: 告诉大家这是什么
|
* @Description: 告诉大家这是什么
|
||||||
*/
|
*/
|
||||||
var _global = {}
|
var _global = {}
|
||||||
|
@ -43,8 +43,8 @@ var CONFIGITEM = {
|
||||||
},
|
},
|
||||||
dev: {
|
dev: {
|
||||||
previewUrl: 'http://localhost:8080/',
|
previewUrl: 'http://localhost:8080/',
|
||||||
apiURL: 'http://192.168.124.243:8888/ucs-admin',
|
apiURL: 'http://192.168.124.236:8888/ucs-admin',
|
||||||
websocketURL: 'ws://192.168.124.243:8888/ucs-admin/websocket'
|
websocketURL: 'ws://192.168.243.236:8888/ucs-admin/websocket'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@ import isPlainObject from 'lodash/isPlainObject'
|
||||||
|
|
||||||
const http = axios.create({
|
const http = axios.create({
|
||||||
baseURL: window.SITE_CONFIG.apiURL,
|
baseURL: window.SITE_CONFIG.apiURL,
|
||||||
// baseURL: 'http://15.2.21.238:8888/renren-admin/',
|
// baseURL: 'http://15.2.21.238:8888/ucs-admin/',
|
||||||
timeout: 1000 * 180,
|
timeout: 1000 * 180,
|
||||||
withCredentials: true
|
withCredentials: true
|
||||||
})
|
})
|
||||||
|
|
|
@ -52,15 +52,15 @@
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
label="增加"
|
label="增加"
|
||||||
value="/renren-admin/resource%/insert"
|
value="/ucs-admin/resource%/insert"
|
||||||
></el-option>
|
></el-option>
|
||||||
<el-option
|
<el-option
|
||||||
label="更新"
|
label="更新"
|
||||||
value="/renren-admin/resource%/update"
|
value="/ucs-admin/resource%/update"
|
||||||
></el-option>
|
></el-option>
|
||||||
<el-option
|
<el-option
|
||||||
label="删除"
|
label="删除"
|
||||||
value="/renren-admin/resource%/delete"
|
value="/ucs-admin/resource%/delete"
|
||||||
></el-option>
|
></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
|
@ -128,7 +128,7 @@ export function initiateMeet(data) {
|
||||||
// data: data,
|
// data: data,
|
||||||
// })
|
// })
|
||||||
return axios.post(
|
return axios.post(
|
||||||
'http://10.134.135.92:8888/renren-admin/enke/initiateMeet',
|
'http://10.134.135.92:8888/ucs-admin/enke/initiateMeet',
|
||||||
data,
|
data,
|
||||||
config2
|
config2
|
||||||
)
|
)
|
||||||
|
|
|
@ -23,9 +23,9 @@ const setting = {
|
||||||
// baseURL: 'mock-server',
|
// baseURL: 'mock-server',
|
||||||
// 请求接口
|
// 请求接口
|
||||||
// 丁港
|
// 丁港
|
||||||
baseURL: 'http://15.72.183.90:8000/renren-admin',
|
baseURL: 'http://15.72.183.90:8000/ucs-admin',
|
||||||
// : 'http://15.2.21.238:8888/renren-admin/',
|
// : 'http://15.2.21.238:8888/ucs-admin/',
|
||||||
// 'http://15.72.183.90:8000/renren-admin',
|
// 'http://15.72.183.90:8000/ucs-admin',
|
||||||
// 黄工
|
// 黄工
|
||||||
// baseURL:
|
// baseURL:
|
||||||
// process.env.NODE_ENV === 'development'
|
// process.env.NODE_ENV === 'development'
|
||||||
|
|
|
@ -74,12 +74,12 @@ module.exports = {
|
||||||
// // },
|
// // },
|
||||||
// // 注释掉的地方是前端配置代理访问后端的示例
|
// // 注释掉的地方是前端配置代理访问后端的示例
|
||||||
// proxy: {
|
// proxy: {
|
||||||
// '/renren-admin': {
|
// '/ucs-admin': {
|
||||||
// target: `http://15.2.21.238:8888`,
|
// target: `http://15.2.21.238:8888`,
|
||||||
// // ws: true,
|
// // ws: true,
|
||||||
// changeOrigin: true,
|
// changeOrigin: true,
|
||||||
// // pathRewrite: {
|
// // pathRewrite: {
|
||||||
// // '^/': '/renren-admin/',
|
// // '^/': '/ucs-admin/',
|
||||||
// // },
|
// // },
|
||||||
// },
|
// },
|
||||||
// },
|
// },
|
||||||
|
|
Loading…
Reference in New Issue