1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-08-01 16:38:02 +08:00

#88 delete useless log

This commit is contained in:
Hai Liang Wang 2018-10-18 21:33:43 +08:00
parent 1d9b58efd6
commit 197019f0c7
2 changed files with 0 additions and 3 deletions

View File

@ -344,7 +344,6 @@ public class IMController extends Handler {
@Valid String purl) throws Exception {
ModelAndView view = request(super.createRequestPageTempletResponse("/apps/im/index"));
BlackEntity black = (BlackEntity) CacheHelper.getSystemCacheBean().getCacheObject(userid, MainContext.SYSTEM_ORGI);
logger.info("index userId {}", userid);
if (StringUtils.isNotBlank(appid) && (black == null || (black.getEndtime() != null && black.getEndtime().before(new Date())))) {
CousultInvite invite = OnlineUserUtils.cousult(appid, orgi, inviteRepository);
String userID = null;
@ -354,7 +353,6 @@ public class IMController extends Handler {
userID = MainUtils.genIDByKey(sessionid);
}
String nickname = "Guest_" + userID;
logger.info("nick name {}", nickname);
boolean consult = true; //是否已收集用户信息
SessionConfig sessionConfig = AutomaticServiceDist.initSessionConfig(orgi);

View File

@ -909,7 +909,6 @@ public class OnlineUserUtils {
ipdata = IPTools.getInstance().findGeography(ip);
}
logger.info("set new Request message nickname {}", nickname);
if (StringUtils.isBlank(nickname)) {
nickname = "Guest_" + userid;
}