石广澎
2023-12-29 5d745c2c8854d2c1e94e5ee9004d5219681f6d7c
admin-web/public/static/config.js
@@ -1,14 +1,16 @@
// 动态获取访问ip
const protocol = window.location.protocol
const host = window.location.host
const SettingIplatform = {
  // 服务器地址
  // 上传路径
  // ftpUrl: 'https://yqzx.jinmingyuan.com/lowConsum',//测试
  ftpUrl: protocol + '//'+ host + '/lowConsum',// 正式,
  /*ftpUrl: 'https://yqzx.jinmingyuan.com/lowConsum',//测试
  apiBaseURL: 'https://yqzx.jinmingyuan.com/lowConsum',//测试*/
  // 接口请求地址
  // apiBaseURL: 'https://yqzx.jinmingyuan.com/lowConsum',//测试
  // apiBaseURL: 'http://172.16.20.2:8083/lowConsum',//开发
  // apiBaseURL: 'http://172.16.60.155:8083/lowConsum',//开发
  apiBaseURL: protocol + '//'+ host + '/lowConsum',// 正式,
  /*ftpUrl: 'http://172.16.20.6:8083/lowConsum',//开发
  apiBaseURL: 'http://172.16.20.6:8083/lowConsum',//开发*/
  ftpUrl: protocol + '//'+ host + '/file',// 正式,
  apiBaseURL: protocol + '//'+ host + '/lowapi',// 正式,
  debug: false //调试开关  true时会输出请求日志
};