会议事件添加时间戳

This commit is contained in:
heavyrian2012
2023-11-05 10:51:46 +08:00
parent c43dfe26f4
commit b4fcef1ced
7 changed files with 36 additions and 12 deletions
@@ -300,18 +300,12 @@ public class Main {
System.exit(-1);
}
int limit = 5;
for (int i = 0; i < 100; i++) {
IMResult<OutputGetUserList> getUserListIMResult = UserAdmin.getAllUsers(limit, i*limit);
if (getUserListIMResult != null && getUserListIMResult.getErrorCode() == ErrorCode.ERROR_CODE_SUCCESS) {
System.out.println("getUserListIMResult success");
if(getUserListIMResult.getResult().userInfoList.size() < limit) {
break;
}
} else {
System.out.println("getUserListIMResult failure");
System.exit(-1);
}
IMResult<OutputGetUserList> getUserListIMResult = UserAdmin.getAllUsers(100, 0);
if (getUserListIMResult != null && getUserListIMResult.getErrorCode() == ErrorCode.ERROR_CODE_SUCCESS) {
System.out.println("getUserListIMResult success");
} else {
System.out.println("getUserListIMResult failure");
System.exit(-1);
}
if (commercialServer) {