fix: 分销码注册地址按环境配置,生产指向 cmp-admin.xm-iot.cn,不再写死测试域名

This commit is contained in:
邹进
2026-11-06 23:27:15 +09:00
parent ca064f2ee6
commit c911e9b1a8
6 changed files with 16 additions and 1 deletions

2
types/env.d.ts vendored
View File

@@ -5,6 +5,8 @@ interface ImportMetaEnv {
VITE_APP_ENV: string;
/** 接口地址 */
VITE_API_BASE_URL: string;
/** 管理后台地址(代理分销码注册页所在站点) */
VITE_ADMIN_BASE_URL: string;
/** 端口号 */
VITE_APP_PORT: string;
/** h5是否需要配置代理 */