config.ts 554 B

12345678910111213141516171819202122
  1. // 环境配置
  2. export type EnvType = 'develop' | 'trial' | 'release';
  3. // 根据实际项目环境设置
  4. export const envWx: EnvType = 'develop'; // 可以根据实际需要修改为 'trial' 或 'release'
  5. // 项目配置
  6. interface ProjectConfig {
  7. baseUrl: string;
  8. clientId: string;
  9. tenantId: string;
  10. appid: string;
  11. }
  12. const config: ProjectConfig = {
  13. baseUrl: import.meta.env.VITE_API_BASE_URL || 'http://localhost:3000',
  14. clientId: '20260119',
  15. tenantId: '000000',
  16. appid: '1942409637969063940',
  17. };
  18. export default config;