/** * 远程静态资源根(须以 / 结尾)。 * * 实际取值以 config/env.js 的 APP_ENV 为准;本文件保留具名常量供脚本/文档引用。 * * 服务器目录:/iflytek/shanxia2.0/app/assets * Nginx 前缀: /shanxia-static/ * * 测试:http://121.43.228.102:9911/shanxia-static/ * 生产:https://w.shanxiachem.com/shanxia-static/ */ import { STATIC_ASSETS_BASE_URL } from '@/config/env' export const STATIC_ASSETS_BASE_URL_TEST = 'http://121.43.228.102:9911/shanxia-static/' export const STATIC_ASSETS_BASE_URL_PRODUCTION = 'https://w.shanxiachem.com/shanxia-static/' /** 当前环境解析结果(随 APP_ENV 变化) */ export const STATIC_ASSETS_BASE_URL_DEFAULT = STATIC_ASSETS_BASE_URL