refactor: 重构数据层支持 SGS SDK 集成

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
lyf
2026-06-26 04:21:12 +08:00
parent a7413ee037
commit 15fbbec12d
16 changed files with 762 additions and 54 deletions

3
src/env.d.ts vendored
View File

@@ -7,10 +7,13 @@ interface ImportMetaEnv {
readonly VITE_API_BASE_URL?: string
readonly VITE_AUDIO_API_BASE_URL?: string
readonly VITE_AUDIO_LANGUAGE?: 'zh-CN' | 'en-US'
readonly VITE_SGS_API_BASE_URL?: string
readonly VITE_SGS_MAP_ID?: string
readonly VITE_SGS_SDK_SCRIPT_URL?: string
readonly VITE_SGS_H5_ENGINE_URL?: string
readonly VITE_SGS_SDK_ORIGIN?: string
readonly VITE_SGS_SDK_TIMEOUT_MS?: string
readonly VITE_TENCENT_MAP_KEY?: string
}
interface ImportMeta {