imsdk 调通

This commit is contained in:
2025-09-09 19:05:07 +08:00
parent e00deb5661
commit ce6ee7bf82
6 changed files with 28 additions and 15 deletions

View File

@@ -67,8 +67,13 @@ object AppState {
)
// 设置当前登录用户 ID
UserId = resp.id
var profileResult = accountService.getMyAccountProfile()
profile = profileResult
try {
var profileResult = accountService.getMyAccountProfile()
profile = profileResult
} catch (e:Exception) {
Log.e("AppState", "getMyAccountProfile Error:"+ e.message )
}
// 获取当前用户资料
// 注册 JPush