黎星凯
2024-04-30 3be9cfcb6b59366b936821966d20a998a6895f9f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// 动态获取访问ip
const protocol = window.location.protocol
const host = window.location.host
const SettingIplatform = {
  // 服务器地址
  // 上传路径
  // ftpUrl: 'https://yqzx.jinmingyuan.com/lowConsum',//测试
  // apiBaseURL: 'https://yqzx.jinmingyuan.com/lowConsum',//测试
 
 
  // 接口请求地址
  ftpUrl: 'http://172.16.60.172:8083/lowConsum',//开发
  apiBaseURL: 'http://172.16.60.172:8083/lowConsum',//开发
 
 
  // apiBaseURL: 'http://172.16.60.110:8083/lowConsum',//开发
 
 
  // ftpUrl: protocol + '//'+ host + '/file',// 正式,
  // apiBaseURL: protocol + '//'+ host + '/lowapi',// 正式,
 
 
  // ftpUrl: protocol + '//'+ host + '/lowapi',// 正式,
  // apiBaseURL: protocol + '//'+ host + '/lowapi',// 正式,
 
  debug: false //调试开关  true时会输出请求日志
};
 
export default SettingIplatform;