bxztApp/packages/screen/api.config.js

29 lines
738 B
JavaScript
Raw Normal View History

// API 基础地址配置
// 此文件用于共享 API 地址配置,供 vite.config.js 和前端代码共同使用
// 当前使用的 API 地址
// export const API_BASE_URL = 'http://58.144.223.142:11501/'
export const API_BASE_URL = 'http://8.137.54.85:8661/'
// 代理目标地址(用于 vite.config.js
export const PROXY_TARGET = API_BASE_URL
// 其他环境配置(备用)
export const API_URLS = {
// 测试环境
etsthttp: 'http://58.144.223.142:11501/',
// 测试环境
test: 'http://8.137.54.85:8661/',
// 张启生本地环境
zhangqisheng: 'http://192.168.110.36:8661/',
// 其他本地环境
local: 'http://192.168.110.16:8661/',
}
export default {
API_BASE_URL,
PROXY_TARGET,
API_URLS,
}