env_release.dart 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. /// 生产环境配置(release 构建使用)
  2. /// TODO: 替换为正式域名
  3. abstract class EnvRelease {
  4. static const String apiBaseUrl =
  5. 'https://api.ibit123.com/api/';
  6. static const String wsUrl =
  7. 'wss://api.ibit123.com/api/market-new/ws/market';
  8. static const String wsSpotUrl =
  9. 'wss://api.ibit123.com/api/market-new/ws/spot';
  10. /// 兜底 Host 列表
  11. static const List<String> fallbackHosts = [
  12. 'https://api.ibit123.com/api/',
  13. ];
  14. /// 远程配置 JSON 地址列表(按顺序尝试,任一成功即止)
  15. static const List<String> remoteConfigUrls = [
  16. ];
  17. /// 是否显示客服入口
  18. static const bool customerServiceEnabled = false;
  19. /// 客服服务配置
  20. static const String customerServiceHost = 'https://api.ibit123.com';
  21. static const String customerServiceChatPath = '/chat.html';
  22. /// WalletConnect:发布构建建议在 CI 注入 --dart-define=WALLETCONNECT_PROJECT_ID=,勿将密钥写入仓库
  23. static const String walletConnectProjectId = '768d376c0fa6af1e4902c6756d6edf42';
  24. static const String tronFullHost = '';
  25. static const String tronGridApiKey = '';
  26. }