Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] getGroupMemberList err #760

Closed
volencez opened this issue Oct 21, 2024 · 3 comments
Closed

[BUG] getGroupMemberList err #760

volencez opened this issue Oct 21, 2024 · 3 comments
Assignees

Comments

@volencez
Copy link

OpenIM Server Version

main and release-3.8.0

Operating System and CPU Architecture

macOS (ARM)

Deployment Method

Docker Deployment

Bug Description and Steps to Reproduce

2024-10-21 10:21:45.216 �[34mINFO�[0m �[34m[PID:45572] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1729506105214", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetGroupMemberList-fm", "args": ["2601187032",5,0,1000]}
2024-10-21 10:21:45.218 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105214", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.328708(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_groups" and entity_id = "8029846575" LIMIT 1"}
2024-10-21 10:21:45.218 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105214", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.215167(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_group_entities_version" and entity_id = "2601187032" LIMIT 1"}
2024-10-21 10:21:45.219 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105214", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.138208(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_group_entities_version" and entity_id = "2601187032" LIMIT 1"}
2024-10-21 10:21:45.219 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105214", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/group_member_model.go:98", "elapsed time": "0.317708(ms)", "rows": 1, "sql": "SELECT * FROM local_group_members WHERE group_id = "2601187032" AND (role_level = 100 OR role_level = 60) AND user_id IN ("8029846575","2541721459","8783720428")"}
2024-10-21 10:21:45.221 �[34mINFO�[0m �[34m[PID:45572] �[0m [version:3.8.0] [open_im_sdk/caller.go:107] fn call success {"operationID": "1729506105214", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetGroupMemberList-fm", "resp": [{"groupID":"2601187032","userID":"8029846575","nickname":"苏牙一眼定情9952","faceURL":"http://localhost:10005/ols/avator/8029846575.png","roleLevel":100,"joinTime":1729438239530,"joinSource":2,"inviterUserID":"8029846575","muteEndTime":0,"operatorUserID":"8029846575","ex":"","attachedInfo":""}], "cost time": "4 ms"}
2024-10-21 10:21:45.249 �[34mINFO�[0m �[34m[PID:45572] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1729506105244", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetGroupMemberList-fm", "args": ["2601187032",3,0,1000]}
2024-10-21 10:21:45.250 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105244", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.252583(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_groups" and entity_id = "8029846575" LIMIT 1"}
2024-10-21 10:21:45.250 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105244", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.162250(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_group_entities_version" and entity_id = "2601187032" LIMIT 1"}
2024-10-21 10:21:45.250 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105244", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/group_member_model.go:124", "elapsed time": "0.285750(ms)", "rows": 1, "sql": "SELECT * FROM local_group_members WHERE group_id = "2601187032" And (role_level = 100 or role_level = 60) ORDER BY role_level DESC,join_time ASC LIMIT 100"}
2024-10-21 10:21:45.251 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105244", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.122667(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_group_entities_version" and entity_id = "2601187032" LIMIT 1"}
2024-10-21 10:21:45.251 �[37mDEBUG�[0m �[37m[PID:45572] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1729506105244", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/group_member_model.go:94", "elapsed time": "0.320042(ms)", "rows": 2, "sql": "SELECT * FROM local_group_members WHERE group_id = "2601187032" AND role_level = 20 AND user_id IN ("2541721459","8783720428")"}
2024-10-21 10:21:45.251 �[31mERROR�[0m �[31m[PID:45572] �[0m [version:3.8.0] [open_im_sdk/caller.go:109] fn call error {"operationID": "1729506105244", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetGroupMemberList-fm", "cost time": "4 ms", "error": "10002 ArgsError"}
Optional("10002 ArgsError")

Screenshots Link

No response

@mo3et
Copy link
Member

mo3et commented Oct 29, 2024

I think this problem maybe is not normal User. I can't look the upsteam call. GetGroup Admin and Owner is success.

@FGadvancer FGadvancer transferred this issue from openimsdk/open-im-sdk-ios Oct 29, 2024
@volencez
Copy link
Author

我该如何确认具体问题是什么?
补充日志及相关数据,getGroupMemberList 报错:
{"operationID": "1730399776365", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetGroupMemberList-fm", "cost time": "2 ms", "error": "10002 ArgsError"}
Optional("10002 ArgsError")

调用代码:
func getGroupMemberList(groupId: String, filter: GroupMemberFilter = .member, offset: Int, count: Int, onSuccess: @escaping CallBack.GroupMembersReturnVoid) {
Self.shared.imManager.getGroupMemberList(groupId,
filter: OIMGroupMemberFilter(rawValue: filter.rawValue)!,
offset: offset,
count: count)
{ (memberInfos: [OIMGroupMemberInfo]?) in
let members: [GroupMemberInfo] = memberInfos?.compactMap { $0.toGroupMemberInfo() } ?? []
onSuccess(members)
} onFailure: { _, msg in
print(msg)
}
}
参数:
groupid:3970676234
filter:0
offset:0
count:8

onFailure response:
Optional("10002 ArgsError")

日志:
2024-10-31 18:51:09.478 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1730400669475", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetSpecifiedGroupsInfo-fm", "args": ["["3970676234"]"]}
2024-10-31 18:51:09.479 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1730400669478", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).MarkConversationMessageAsRead-fm", "args": ["sg_3970676234"]}
2024-10-31 18:51:09.478 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1730400669478", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetGroupMemberList-fm", "args": ["3970676234",0,0,10000]}
2024-10-31 18:51:09.479 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1730400669478", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).GetTotalUnreadMsgCount-fm", "args": null}
2024-10-31 18:51:09.482 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669478", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/conversation_model.go:165", "elapsed time": "0.667333(ms)", "rows": 1, "sql": "SELECT * FROM local_conversations WHERE conversation_id = "sg_3970676234" LIMIT 1"}
2024-10-31 18:51:09.479 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669478", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.362875(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_groups" and entity_id = "4159955699" LIMIT 1"}
2024-10-31 18:51:09.482 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669478", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/conversation_model.go:325", "elapsed time": "0.306541(ms)", "rows": 2, "sql": "SELECT unread_count FROM local_conversations WHERE recv_msg_opt < 2 and latest_msg_send_time > 0"}
2024-10-31 18:51:09.480 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669475", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/group_model.go:76", "elapsed time": "0.261333(ms)", "rows": 1, "sql": "SELECT * FROM local_groups WHERE group_id in ("3970676234")"}
2024-10-31 18:51:09.482 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:107] fn call success {"operationID": "1730400669478", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).GetTotalUnreadMsgCount-fm", "resp": 0, "cost time": "3 ms"}
2024-10-31 18:51:09.482 �[31mERROR�[0m �[31m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:109] fn call error {"operationID": "1730400669478", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).MarkConversationMessageAsRead-fm", "cost time": "3 ms", "error": "10303 unread count has zero"}
2024-10-31 18:51:09.482 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:107] fn call success {"operationID": "1730400669475", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetSpecifiedGroupsInfo-fm", "resp": [{"groupID":"3970676234","groupName":"Test","notification":"","introduction":"","faceURL":"","createTime":1730389750718,"status":0,"creatorUserID":"4159955699","groupType":2,"ownerUserID":"4159955699","memberCount":2,"ex":"","attachedInfo":"","needVerification":0,"lookMemberInfo":0,"applyMemberFriend":0,"notificationUpdateTime":0,"notificationUserID":""}], "cost time": "3 ms"}
2024-10-31 18:51:09.483 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669478", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.481291(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_group_entities_version" and entity_id = "3970676234" LIMIT 1"}
2024-10-31 18:51:09.483 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669478", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.145792(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_group_entities_version" and entity_id = "3970676234" LIMIT 1"}
2024-10-31 18:51:09.484 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669478", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/group_member_model.go:88", "elapsed time": "0.531208(ms)", "rows": 2, "sql": "SELECT * FROM local_group_members WHERE group_id = "3970676234" AND user_id IN ("4159955699","9036294267")"}
2024-10-31 18:51:09.484 �[31mERROR�[0m �[31m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:109] fn call error {"operationID": "1730400669478", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetGroupMemberList-fm", "cost time": "5 ms", "error": "10002 ArgsError"}
2024-10-31 18:51:09.510 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1730400669507", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetSpecifiedGroupsInfo-fm", "args": ["["3970676234"]"]}
2024-10-31 18:51:09.511 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669507", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/group_model.go:76", "elapsed time": "0.426666(ms)", "rows": 1, "sql": "SELECT * FROM local_groups WHERE group_id in ("3970676234")"}
2024-10-31 18:51:09.511 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:107] fn call success {"operationID": "1730400669507", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetSpecifiedGroupsInfo-fm", "resp": [{"groupID":"3970676234","groupName":"Test","notification":"","introduction":"","faceURL":"","createTime":1730389750718,"status":0,"creatorUserID":"4159955699","groupType":2,"ownerUserID":"4159955699","memberCount":2,"ex":"","attachedInfo":"","needVerification":0,"lookMemberInfo":0,"applyMemberFriend":0,"notificationUpdateTime":0,"notificationUserID":""}], "cost time": "0 ms"}
2024-10-31 18:51:09.522 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1730400669522", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetSpecifiedGroupsInfo-fm", "args": ["["3970676234"]"]}
2024-10-31 18:51:09.522 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669522", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/group_model.go:76", "elapsed time": "0.147334(ms)", "rows": 1, "sql": "SELECT * FROM local_groups WHERE group_id in ("3970676234")"}
2024-10-31 18:51:09.522 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:107] fn call success {"operationID": "1730400669522", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetSpecifiedGroupsInfo-fm", "resp": [{"groupID":"3970676234","groupName":"Test","notification":"","introduction":"","faceURL":"","createTime":1730389750718,"status":0,"creatorUserID":"4159955699","groupType":2,"ownerUserID":"4159955699","memberCount":2,"ex":"","attachedInfo":"","needVerification":0,"lookMemberInfo":0,"applyMemberFriend":0,"notificationUpdateTime":0,"notificationUserID":""}], "cost time": "0 ms"}
Optional("10002 ArgsError")
2024-10-31 18:51:09.619 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1730400669618", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).GetAdvancedHistoryMessageList-fm", "args": ["{"lastMinSeq":0,"conversationID":"sg_3970676234","count":50}"]}
2024-10-31 18:51:09.622 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669618", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/conversation_model.go:165", "elapsed time": "0.297208(ms)", "rows": 1, "sql": "SELECT * FROM local_conversations WHERE conversation_id = "sg_3970676234" LIMIT 1"}
2024-10-31 18:51:09.622 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/conversation.go:111] Assembly conversation parameters {"operationID": "1730400669618", "cost time": "464.166µs", "conversationID": "sg_3970676234", "startTime:": 0, "count:": 50, "not start_time": true}
2024-10-31 18:51:09.623 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669618", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/chat_log_model.go:161", "elapsed time": "0.685042(ms)", "rows": 2, "sql": "SELECT * FROM chat_logs_sg_3970676234 ORDER BY send_time DESC LIMIT 50"}
2024-10-31 18:51:09.623 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/conversation.go:119] db get messageList {"operationID": "1730400669618", "cost time": "786.542µs", "len": 2, "err": null, "conversationID": "sg_3970676234"}
2024-10-31 18:51:09.623 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/message_check.go:37] getMaxAndMinHaveSeqList is: {"operationID": "1730400669618", "maxSeq": 2, "minSeq": 1, "haveSeqList": [2, 1]}
2024-10-31 18:51:09.623 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/message_check.go:47] get lost seqList is : {"operationID": "1730400669618", "maxSeq": 2, "minSeq": 1, "lostSeqList": [], "length:": 0}
2024-10-31 18:51:09.623 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/conversation.go:145] pull message {"operationID": "1730400669618", "pull cost time": "171.75µs"}
2024-10-31 18:51:09.624 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/conversation.go:198] message convert and unmarshal {"operationID": "1730400669618", "unmarshal cost time": "435.291µs"}
2024-10-31 18:51:09.624 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/conversation.go:203] sort {"operationID": "1730400669618", "sort cost time": "416ns"}
2024-10-31 18:51:09.624 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:107] fn call success {"operationID": "1730400669618", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).GetAdvancedHistoryMessageList-fm", "resp": {"messageList":[{"clientMsgID":"e41e1b13f6b130e28de65b0f13f1e64e","serverMsgID":"ac2155fb973b74c77414a6ca952008ab","createTime":1730389750733,"sendTime":1730389750739,"sessionType":3,"sendID":"4159955699","recvID":"4159955699","msgFrom":200,"contentType":1501,"senderPlatformID":0,"groupID":"3970676234","seq":1,"isRead":false,"status":2,"notificationElem":{"detail":"{"group":{"groupID":"3970676234","groupName":"Test","notification":"","introduction":"","faceURL":"","ownerUserID":"4159955699","createTime":1730389750718,"memberCount":2,"ex":"","status":0,"creatorUserID":"4159955699","groupType":2,"needVerification":0,"lookMemberInfo":0,"applyMemberFriend":0,"notificationUpdateTime":0,"notificationUserID":""},"opUser":{"groupID":"3970676234","userID":"4159955699","roleLevel":100,"joinTime":1730389750722,"nickname":"17600079952","faceURL":"","appMangerLevel":0,"joinSource":2,"operatorUserID":"4159955699","ex":"","muteEndTime":0,"inviterUserID":"4159955699"},"memberList":[{"groupID":"3970676234","userID":"4159955699","roleLevel":100,"joinTime":1730389750722,"nickname":"17600079952","faceURL":"","appMangerLevel":0,"joinSource":2,"operatorUserID":"4159955699","ex":"","muteEndTime":0,"inviterUserID":"4159955699"}],"operationTime":1730389750718,"groupOwnerUser":{"groupID":"3970676234","userID":"4159955699","roleLevel":100,"joinTime":1730389750722,"nickname":"","faceURL":"","appMangerLevel":0,"joinSource":2,"operatorUserID":"4159955699","ex":"","muteEndTime":0,"inviterUserID":"4159955699"},"groupMemberVersion":1,"groupMemberVersionID":"6723a6f6429b5cde71fa45e1"}"},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0,"groupMemberCount":0},"isPrivateChat":false,"burnDuration":0,"hasReadTime":0,"isEncryption":false,"inEncryptStatus":false}},{"clientMsgID":"f9bf7230907a2cce67a322ffee977db4","serverMsgID":"d6833dbf7f33881ca157c6b09c3ba17b","createTime":1730399377446,"sendTime":1730399377472,"sessionType":3,"sendID":"4159955699","recvID":"4159955699","msgFrom":100,"contentType":101,"senderPlatformID":1,"senderNickname":"17600079952","groupID":"3970676234","seq":2,"isRead":false,"status":2,"textElem":{"content":"Sdfsd"},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0,"groupMemberCount":2},"isPrivateChat":false,"burnDuration":0,"hasReadTime":0,"isEncryption":false,"inEncryptStatus":false}}],"lastMinSeq":1,"isEnd":true,"errCode":0,"errMsg":""}, "cost time": "5 ms"}
2024-10-31 18:51:09.653 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1730400669651", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).GetAdvancedHistoryMessageList-fm", "args": ["{"startClientMsgID":"e41e1b13f6b130e28de65b0f13f1e64e","lastMinSeq":1,"count":50,"conversationID":"sg_3970676234"}"]}
2024-10-31 18:51:09.654 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669651", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/conversation_model.go:165", "elapsed time": "0.487334(ms)", "rows": 1, "sql": "SELECT * FROM local_conversations WHERE conversation_id = "sg_3970676234" LIMIT 1"}
2024-10-31 18:51:09.654 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669651", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/chat_log_model.go:126", "elapsed time": "0.230792(ms)", "rows": 1, "sql": "SELECT * FROM chat_logs_sg_3970676234 WHERE client_msg_id = "e41e1b13f6b130e28de65b0f13f1e64e" LIMIT 1"}
2024-10-31 18:51:09.654 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/conversation.go:111] Assembly conversation parameters {"operationID": "1730400669651", "cost time": "1.063ms", "conversationID": "sg_3970676234", "startTime:": 1730389750739, "count:": 50, "not start_time": false}
2024-10-31 18:51:09.655 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669651", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/chat_log_model.go:181", "elapsed time": "0.179375(ms)", "rows": 0, "sql": "SELECT * FROM chat_logs_sg_3970676234 WHERE send_time < 1730389750739 ORDER BY send_time DESC LIMIT 50"}
2024-10-31 18:51:09.655 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/conversation.go:119] db get messageList {"operationID": "1730400669651", "cost time": "235.667µs", "len": 0, "err": null, "conversationID": "sg_3970676234"}
2024-10-31 18:51:09.655 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/message_check.go:37] getMaxAndMinHaveSeqList is: {"operationID": "1730400669651", "maxSeq": 0, "minSeq": 0, "haveSeqList": []}
2024-10-31 18:51:09.655 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/message_check.go:66] get lost LastMinSeq is : {"operationID": "1730400669651", "lastMinSeq": 1, "thisMaxSeq": 0}
2024-10-31 18:51:09.655 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669651", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/chat_log_model.go:301", "elapsed time": "0.292500(ms)", "rows": 0, "sql": "SELECT seq FROM chat_logs_sg_3970676234 WHERE seq IN (0,0)"}
2024-10-31 18:51:09.655 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/message_check.go:178] conversation pull message, {"operationID": "1730400669651", "req": {"userID":"4159955699","seqRanges":[{"conversationID":"sg_3970676234","begin":0,"end":0,"num":2}],"order":0}}
2024-10-31 18:51:09.655 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [interaction/long_conn_mgr.go:153] send message to send channel success {"operationID": "1730400669651", "msg": "userID:"4159955699" seqRanges:{conversationID:"sg_3970676234" num:2}", "reqIdentifier": 1002}
2024-10-31 18:51:09.655 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [interaction/long_conn_mgr.go:259] writePump recv message {"operationID": "1730400656024087531", "reqIdentifier": 1002, "operationID": "1730400669651", "sendID": "4159955699"}
2024-10-31 18:51:09.675 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [interaction/long_conn_mgr.go:506] recv msg {"operationID": "1730400669651", "errCode": 0, "errMsg": "", "reqIdentifier": 1002}
2024-10-31 18:51:09.675 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/message_check.go:187] syncMsgFromServerSplit pull msg {"operationID": "1730400669651", "resp": {"msgs":{"sg_3970676234":{"Msgs":[{"sendID":"","recvID":"","groupID":"","clientMsgID":"","serverMsgID":"","senderPlatformID":0,"senderNickname":"","senderFaceURL":"","sessionType":0,"msgFrom":0,"contentType":0,"content":null,"seq":0,"sendTime":0,"createTime":0,"status":0,"isRead":false,"offlinePushInfo":null,"atUserIDList":null,"attachedInfo":"","ex":""}],"isEnd":false}}}}
2024-10-31 18:51:09.675 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/message_check.go:230] do Msg come here, len: {"operationID": "1730400669651", "msg length": 1}
2024-10-31 18:51:09.675 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/message_check.go:233] msg detail {"operationID": "1730400669651", "msg": "", "conversationID": "sg_3970676234"}
2024-10-31 18:51:09.676 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669651", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/conversation_model.go:165", "elapsed time": "0.219875(ms)", "rows": 1, "sql": "SELECT * FROM local_conversations WHERE conversation_id = "sg_3970676234" LIMIT 1"}
2024-10-31 18:51:09.676 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669651", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.099792(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_groups" and entity_id = "4159955699" LIMIT 1"}
2024-10-31 18:51:09.676 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669651", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.088333(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_group_entities_version" and entity_id = "3970676234" LIMIT 1"}
2024-10-31 18:51:09.676 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669651", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/group_member_model.go:63", "elapsed time": "0.069833(ms)", "rows": 0, "sql": "SELECT * FROM local_group_members WHERE group_id = "3970676234" And user_id IN (NULL) "}
2024-10-31 18:51:09.676 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669651", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/group_model.go:84", "elapsed time": "0.080917(ms)", "rows": 1, "sql": "SELECT * FROM local_groups WHERE group_id = "3970676234" LIMIT 1"}
2024-10-31 18:51:09.676 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669651", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/conversation_model.go:165", "elapsed time": "0.074542(ms)", "rows": 1, "sql": "SELECT * FROM local_conversations WHERE conversation_id = "sg_3970676234" LIMIT 1"}
2024-10-31 18:51:09.676 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/message_check.go:285] BatchInsertMessageListController, {"operationID": "1730400669651", "cost time": 0}
2024-10-31 18:51:09.676 �[33mWARN�[0m �[33m[PID:96559] �[0m [version:3.8.0] [conversation_msg/message_check.go:289] exceptionMsg show: {"operationID": "1730400669651", "msg": {"seq":0,"clientMsgID":"","serverMsgID":"","sendID":"","recvID":"","senderPlatformID":0,"senderNickname":"","senderFaceURL":"","sessionType":0,"msgFrom":0,"contentType":0,"content":"","isRead":false,"status":2,"sendTime":0,"createTime":0,"attachedInfo":"","ex":""}}
2024-10-31 18:51:09.677 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400669651", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/chat_log_model.go:181", "elapsed time": "0.095875(ms)", "rows": 0, "sql": "SELECT * FROM chat_logs_sg_3970676234 WHERE send_time < 1730389750739 ORDER BY send_time DESC LIMIT 50"}
2024-10-31 18:51:09.677 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/conversation.go:145] pull message {"operationID": "1730400669651", "pull cost time": "21.849708ms"}
2024-10-31 18:51:09.677 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/conversation.go:198] message convert and unmarshal {"operationID": "1730400669651", "unmarshal cost time": "41ns"}
2024-10-31 18:51:09.677 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [conversation_msg/conversation.go:203] sort {"operationID": "1730400669651", "sort cost time": "209ns"}
2024-10-31 18:51:09.677 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:107] fn call success {"operationID": "1730400669651", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).GetAdvancedHistoryMessageList-fm", "resp": {"messageList":[],"lastMinSeq":1,"isEnd":false,"errCode":0,"errMsg":""}, "cost time": "23 ms"}
2024-10-31 18:51:13.266 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1730400673266", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetGroupMemberList-fm", "args": ["3970676234",0,0,8]}
2024-10-31 18:51:13.267 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1730400673266", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetSpecifiedGroupsInfo-fm", "args": ["["3970676234"]"]}
2024-10-31 18:51:13.266 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1730400673266", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).GetOneConversation-fm", "args": [3,"3970676234"]}
2024-10-31 18:51:13.267 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1730400673267", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetSpecifiedGroupMembersInfo-fm", "args": ["3970676234","["4159955699"]"]}
2024-10-31 18:51:13.268 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400673266", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/group_model.go:76", "elapsed time": "0.439208(ms)", "rows": 1, "sql": "SELECT * FROM local_groups WHERE group_id in ("3970676234")"}
2024-10-31 18:51:13.268 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400673266", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.470834(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_groups" and entity_id = "4159955699" LIMIT 1"}
2024-10-31 18:51:13.269 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:107] fn call success {"operationID": "1730400673266", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetSpecifiedGroupsInfo-fm", "resp": [{"groupID":"3970676234","groupName":"Test","notification":"","introduction":"","faceURL":"","createTime":1730389750718,"status":0,"creatorUserID":"4159955699","groupType":2,"ownerUserID":"4159955699","memberCount":2,"ex":"","attachedInfo":"","needVerification":0,"lookMemberInfo":0,"applyMemberFriend":0,"notificationUpdateTime":0,"notificationUserID":""}], "cost time": "2 ms"}
2024-10-31 18:51:13.269 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400673266", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.215000(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_group_entities_version" and entity_id = "3970676234" LIMIT 1"}
2024-10-31 18:51:13.270 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400673266", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/conversation_model.go:165", "elapsed time": "3.155166(ms)", "rows": 1, "sql": "SELECT * FROM local_conversations WHERE conversation_id = "sg_3970676234" LIMIT 1"}
2024-10-31 18:51:13.272 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:107] fn call success {"operationID": "1730400673266", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/conversation_msg.(*Conversation).GetOneConversation-fm", "resp": {"conversationID":"sg_3970676234","conversationType":3,"userID":"","groupID":"3970676234","showName":"Test","faceURL":"","recvMsgOpt":0,"unreadCount":0,"groupAtType":0,"latestMsg":"{"clientMsgID":"f9bf7230907a2cce67a322ffee977db4","serverMsgID":"d6833dbf7f33881ca157c6b09c3ba17b","createTime":1730399377446,"sendTime":1730399377472,"sessionType":3,"sendID":"4159955699","msgFrom":100,"contentType":101,"senderPlatformID":1,"senderNickname":"17600079952","groupID":"3970676234","seq":2,"isRead":false,"status":2,"offlinePush":{"title":"你收到了一条消息","desc":"你收到了一条消息","ex":"","iOSPushSound":"","iOSBadgeCount":false,"signalInfo":""},"textElem":{"content":"Sdfsd"},"attachedInfoElem":{"groupHasReadInfo":{"hasReadCount":0,"groupMemberCount":2},"isPrivateChat":false,"burnDuration":0,"hasReadTime":0,"isEncryption":false,"inEncryptStatus":false}}","latestMsgSendTime":1730399377472,"draftText":"","draftTextTime":0,"isPinned":false,"isPrivateChat":false,"burnDuration":30,"isNotInGroup":false,"updateUnreadCountTime":0,"attachedInfo":"","ex":"","maxSeq":0,"minSeq":0,"hasReadSeq":2,"msgDestructTime":604800,"isMsgDestruct":false}, "cost time": "5 ms"}
2024-10-31 18:51:13.272 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400673266", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.134000(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_group_entities_version" and entity_id = "3970676234" LIMIT 1"}
2024-10-31 18:51:13.273 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400673266", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/group_member_model.go:88", "elapsed time": "0.238875(ms)", "rows": 2, "sql": "SELECT * FROM local_group_members WHERE group_id = "3970676234" AND user_id IN ("4159955699","9036294267")"}
2024-10-31 18:51:13.273 �[31mERROR�[0m �[31m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:109] fn call error {"operationID": "1730400673266", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetGroupMemberList-fm", "cost time": "6 ms", "error": "10002 ArgsError"}
2024-10-31 18:51:13.273 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400673267", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.100459(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_groups" and entity_id = "4159955699" LIMIT 1"}
2024-10-31 18:51:13.273 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400673267", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.092125(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_group_entities_version" and entity_id = "3970676234" LIMIT 1"}
2024-10-31 18:51:13.273 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400673267", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/group_member_model.go:63", "elapsed time": "0.116750(ms)", "rows": 1, "sql": "SELECT * FROM local_group_members WHERE group_id = "3970676234" And user_id IN ("4159955699") "}
2024-10-31 18:51:13.274 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400673267", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/group_model.go:84", "elapsed time": "0.122416(ms)", "rows": 1, "sql": "SELECT * FROM local_groups WHERE group_id = "3970676234" LIMIT 1"}
2024-10-31 18:51:13.274 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:107] fn call success {"operationID": "1730400673267", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetSpecifiedGroupMembersInfo-fm", "resp": [{"groupID":"3970676234","userID":"4159955699","nickname":"17600079952","faceURL":"","roleLevel":100,"joinTime":1730389750722,"joinSource":2,"inviterUserID":"4159955699","muteEndTime":0,"operatorUserID":"4159955699","ex":"","attachedInfo":""}], "cost time": "7 ms"}
2024-10-31 18:51:13.344 �[34mINFO�[0m �[34m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:115] func call req {"operationID": "1730400673340", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetGroupMemberList-fm", "args": ["3970676234",3,0,2]}
2024-10-31 18:51:13.345 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400673340", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.139750(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_groups" and entity_id = "4159955699" LIMIT 1"}
2024-10-31 18:51:13.345 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400673340", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.068292(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_group_entities_version" and entity_id = "3970676234" LIMIT 1"}
2024-10-31 18:51:13.345 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400673340", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/group_member_model.go:124", "elapsed time": "0.147500(ms)", "rows": 1, "sql": "SELECT * FROM local_group_members WHERE group_id = "3970676234" And (role_level = 100 or role_level = 60) ORDER BY role_level DESC,join_time ASC LIMIT 100"}
2024-10-31 18:51:13.345 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400673340", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/version_sync.go:33", "elapsed time": "0.145333(ms)", "rows": 1, "sql": "SELECT * FROM local_sync_version WHERE table_name = "local_group_entities_version" and entity_id = "3970676234" LIMIT 1"}
Optional("10002 ArgsError")
2024-10-31 18:51:13.345 �[37mDEBUG�[0m �[37m[PID:96559] �[0m [version:3.8.0] [log/sql_logger.go:101] sql exec detail {"operationID": "1730400673340", "gorm": "github.com/openimsdk/openim-sdk-core/[email protected]/pkg/db/group_member_model.go:94", "elapsed time": "0.086000(ms)", "rows": 1, "sql": "SELECT * FROM local_group_members WHERE group_id = "3970676234" AND role_level = 20 AND user_id IN ("9036294267")"}
2024-10-31 18:51:13.345 �[31mERROR�[0m �[31m[PID:96559] �[0m [version:3.8.0] [open_im_sdk/caller.go:109] fn call error {"operationID": "1730400673340", "function name": "github.com/openimsdk/openim-sdk-core/v3/internal/group.(*Group).GetGroupMemberList-fm", "cost time": "1 ms", "error": "10002 ArgsError"}
Optional("10002 ArgsError")

下面是我相关数据:
group data:
/**

  • Paste one or more documents here
    */
    {
    "group_id": "3970676234",
    "group_name": "Test",
    "notification": "",
    "introduction": "",
    "face_url": "",
    "create_time": {
    "$date": "2024-10-31T15:49:10.718Z"
    },
    "ex": "",
    "status": 0,
    "creator_user_id": "4159955699",
    "group_type": 2,
    "need_verification": 0,
    "look_member_info": 0,
    "apply_member_friend": 0,
    "notification_update_time": {
    "$date": "1970-01-01T00:00:00.000Z"
    },
    "notification_user_id": ""
    }
    group member:
    {
    "_id": {
    "$oid": "6723a6f6429b5cde71fa45df"
    },
    "group_id": "3970676234",
    "user_id": "4159955699",
    "nickname": "",
    "face_url": "",
    "role_level": 100,
    "join_time": {
    "$date": "2024-10-31T15:49:10.722Z"
    },
    "join_source": 2,
    "inviter_user_id": "4159955699",
    "operator_user_id": "4159955699",
    "mute_end_time": {
    "$date": "1970-01-01T00:00:00.000Z"
    },
    "ex": ""
    }
    user
    {
    "_id": {
    "$oid": "67168dc1755fbcc4d0f4e637"
    },
    "user_id": "4159955699",
    "nickname": "17600079952",
    "face_url": "",
    "ex": "",
    "app_manger_level": 0,
    "global_recv_msg_opt": 0,
    "create_time": {
    "$date": "2024-10-21T17:22:09.507Z"
    }
    }
    {
    "_id": {
    "$oid": "67169671755fbcc4d0f4e639"
    },
    "user_id": "9036294267",
    "nickname": "vip",
    "face_url": "",
    "ex": "",
    "app_manger_level": 0,
    "global_recv_msg_opt": 0,
    "create_time": {
    "$date": "2024-10-21T17:59:13.135Z"
    }
    }
    attribute:
    {
    "_id": {
    "$oid": "67168dc1678f4b0d038431f2"
    },
    "user_id": "4159955699",
    "account": "",
    "phone_number": "17600079952",
    "area_code": "+86",
    "email": "",
    "nickname": "17600079952",
    "face_url": "",
    "gender": 0,
    "create_time": {
    "$date": "2024-10-21T17:22:09.500Z"
    },
    "change_time": {
    "$date": "2024-10-21T17:22:09.500Z"
    },
    "birth_time": {
    "$date": "2024-10-21T17:21:43.000Z"
    },
    "level": 0,
    "allow_vibration": 1,
    "allow_beep": 1,
    "allow_add_friend": 1,
    "global_recv_msg_opt": 0,
    "register_type": 2
    }
    {
    "_id": {
    "$oid": "67169671678f4b0d038431fa"
    },
    "user_id": "9036294267",
    "account": "",
    "phone_number": "13835283289",
    "area_code": "+86",
    "email": "",
    "nickname": "vip",
    "face_url": "",
    "gender": 0,
    "create_time": {
    "$date": "2024-10-21T17:59:13.132Z"
    },
    "change_time": {
    "$date": "2024-10-21T17:59:13.132Z"
    },
    "birth_time": {
    "$date": "1970-01-01T00:00:00.000Z"
    },
    "level": 0,
    "allow_vibration": 1,
    "allow_beep": 1,
    "allow_add_friend": 1,
    "global_recv_msg_opt": 0,
    "register_type": 2
    }

@mo3et
Copy link
Member

mo3et commented Nov 14, 2024

This problem is solve in latest version. please update new version.

@mo3et mo3et closed this as completed Nov 14, 2024
@mo3et mo3et reopened this Nov 14, 2024
@mo3et mo3et closed this as completed Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants