OpenIMApiClient 替换

This commit is contained in:
wells
2026-08-08 15:20:45 +08:00
parent aa48225d85
commit 1f93719ee5
10 changed files with 176 additions and 40 deletions
@@ -1,5 +1,7 @@
package com.tailbet.common.constant;
import com.tailbet.common.enums.PlatformEnum;
/**
* OpenIM 协议相关常量
* <p>
@@ -117,13 +119,13 @@ public final class OpenImConstants {
* 服务端代操作使用的平台 ID(Web)。
* 与 App 端 iOS/Android 平台隔离,避免顶掉用户已登录 session。
*/
public static final int PLATFORM_ID_SERVER_WEB = 5;
public static final int PLATFORM_ID_SERVER_WEB = PlatformEnum.WEB.getCode();
/** App 端 iOS 平台 ID */
public static final int PLATFORM_ID_IOS = 1;
public static final int PLATFORM_ID_IOS = PlatformEnum.IOS.getCode();
/** App 端 Android 平台 ID */
public static final int PLATFORM_ID_ANDROID = 2;
public static final int PLATFORM_ID_ANDROID = PlatformEnum.ANDROID.getCode();
// ==================== 会话摘要 / 未读 ====================