fix: complete GCP synthetic single-order acceptance and align booking collation [skip ci]

This commit is contained in:
2026-10-24 19:20:44 +08:00
parent 493656e677
commit 5cc6f617f5
13 changed files with 420 additions and 83 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ function baseUrl(value, path) {
}
export function config(env) {
if (!['test', 'gray'].includes(env.CHONGCHONG_ENV)) throw new Error('必须显式配置 CHONGCHONG_ENV=test 或 gray')
if (!['test', 'gray', 'gcp-test'].includes(env.CHONGCHONG_ENV)) throw new Error('必须显式配置 CHONGCHONG_ENV=test、gray 或 gcp-test')
for (const key of ['CHONGCHONG_ADMIN_OVERSEAS_API_BASE_URL', 'CHONGCHONG_MERCHANT_OVERSEAS_API_BASE_URL']) {
if (env[key] != null) throw new Error(`移除旧海外网关配置:${key};所有业务使用统一 Gateway`)
}