// 环境地址统一走 Vite 环境变量(见 .env.example / .env.local,敏感地址勿提交 git) export const BASE_URL = import.meta.env.VITE_API_BASE_URL || '' // 接口根地址,由 .env.local 注入 export const API_URL = `${BASE_URL}/system` // 后台接口域名 export const IMG_URL = import.meta.env.VITE_IMG_URL || 'https://ye4s.file.gzxunren.com' // 全局网络图片地址变量,css背景图片地址变量在uni.scss