- 实现环境配置管理,支持外部和本地主机模式切换 - 集成Demo API接口,包含登录、注册、文件上传等功能 - 构建附件处理仓库,支持图片、视频、音频和文件发送 - 开发认证仓库,管理用户会话和IM令牌刷新机制 - 添加语音录制功能,支持实时音频消息录制 - 创建依赖注入容器,统一管理应用组件实例 - 实现登录界面,提供用户认证交互功能 - 开发聊天界面,集成消息收发和媒体处理功能
13 行
409 B
TypeScript
13 行
409 B
TypeScript
/**
|
|
* @deprecated These hardcoded URLs are no longer used by the SDK.
|
|
* The SDK now fetches configuration from the tenant platform via
|
|
* XuqmSDK.initialize(). These constants are kept only as fallback
|
|
* references and for backward compatibility.
|
|
*/
|
|
export const API_BASE_URL = 'http://192.168.116.9:8081'
|
|
|
|
/**
|
|
* @deprecated See API_BASE_URL.
|
|
*/
|
|
export const IM_WS_URL = 'ws://192.168.116.9:8082/ws/im'
|