石广澎
2023-12-08 bfa92c800abfd26099435d1a163d8d4dd1655899
feat:
正式环境打包配置
1个文件已修改
12 ■■■■■ 已修改文件
admin-web/public/static/config.js 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
admin-web/public/static/config.js
@@ -1,12 +1,16 @@
// 动态获取访问ip
const protocol = window.location.protocol
const host = window.location.host
const SettingIplatform = {
  // 服务器地址
  // 上传路径
  ftpUrl: 'https://yqzx.jinmingyuan.com/lowConsum',//开发
  ftpUrl: 'https://yqzx.jinmingyuan.com/lowConsum',//测试
  // ftpUrl: protocol + '//'+ host + '/file',// 正式,
  // 接口请求地址
  apiBaseURL: 'http://127.0.0.1:8083/lowConsum',//开发
  apiBaseURL: 'https://yqzx.jinmingyuan.com/lowConsum',//测试
  // apiBaseURL: 'http://172.16.20.2:8083/lowConsum',//开发
  // apiBaseURL: 'http://172.16.60.155:8083/lowConsum',//开发
  // apiBaseURL: 'https://yqzx.jinmingyuan.com/lowConsum',//开发
  // apiBaseURL: protocol + '//'+ host + '/lowConsum',// 正式,
  debug: false //调试开关  true时会输出请求日志
};