env_debug.dart 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. /// 测试环境配置(debug 构建使用)
  2. abstract class EnvDebug {
  3. static const String apiBaseUrl =
  4. 'https://api.ibit123.com/api/';
  5. static const String wsUrl =
  6. 'wss://api.ibit123.com/api/market-new/ws/market';
  7. static const String wsSpotUrl =
  8. 'wss://api.ibit123.com/api/market-new/ws/spot';
  9. /// 兜底 Host 列表
  10. static const List<String> fallbackHosts = [
  11. 'https://api.ibit123.com/api/',
  12. 'https://api.ibit123.com/api/',
  13. ];
  14. /// 远程配置 JSON 地址列表(debug 不启用)
  15. static const List<String> remoteConfigUrls = [];
  16. /// debug 构建默认关闭客服入口(首页、个人中心等)
  17. static const bool customerServiceEnabled = false;
  18. /// 本地需调试客服时改为 true,并填写下方地址
  19. static const String customerServiceHost = 'https://api.ibit123.com';
  20. static const String customerServiceChatPath = '/chat.html';
  21. /// WalletConnect / Reown Project ID(空则充币页仅支持手动转账;可用 --dart-define=WALLETCONNECT_PROJECT_ID= 覆盖)
  22. static const String walletConnectProjectId = '768d376c0fa6af1e4902c6756d6edf42';
  23. /// Tron FullNode(空则回落 api.trongrid.io;可用 dart-define `TRON_FULL_HOST` 覆盖)
  24. static const String tronFullHost = '';
  25. /// TronGrid API Key(可选;`TRONGRID_API_KEY`)
  26. static const String tronGridApiKey = '';
  27. }