feat: 提现参数调整

This commit is contained in:
2026-07-06 10:39:34 +08:00
parent 93800a463d
commit 79bd7adb8a
4 changed files with 83 additions and 30 deletions
+5 -6
View File
@@ -4,12 +4,11 @@ const { version } = packageInfo;
// 开发环境配置
export let baseUrl;
// if (process.env.NODE_ENV === 'development') {
// baseUrl = import.meta.env.SHOPRO_DEV_BASE_URL;
// } else {
// baseUrl = import.meta.env.SHOPRO_BASE_URL;
// }
baseUrl = import.meta.env.SHOPRO_DEV_BASE_URL;
if (process.env.NODE_ENV === 'development') {
baseUrl = import.meta.env.SHOPRO_DEV_BASE_URL;
} else {
baseUrl = import.meta.env.SHOPRO_BASE_URL || import.meta.env.SHOPRO_DEV_BASE_URL;
}
if (typeof baseUrl === 'undefined') {
console.error('请检查.env配置文件是否存在');
} else {