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:
parent
1d9b58efd6
commit
197019f0c7
@ -344,7 +344,6 @@ public class IMController extends Handler {
|
|||||||
@Valid String purl) throws Exception {
|
@Valid String purl) throws Exception {
|
||||||
ModelAndView view = request(super.createRequestPageTempletResponse("/apps/im/index"));
|
ModelAndView view = request(super.createRequestPageTempletResponse("/apps/im/index"));
|
||||||
BlackEntity black = (BlackEntity) CacheHelper.getSystemCacheBean().getCacheObject(userid, MainContext.SYSTEM_ORGI);
|
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())))) {
|
if (StringUtils.isNotBlank(appid) && (black == null || (black.getEndtime() != null && black.getEndtime().before(new Date())))) {
|
||||||
CousultInvite invite = OnlineUserUtils.cousult(appid, orgi, inviteRepository);
|
CousultInvite invite = OnlineUserUtils.cousult(appid, orgi, inviteRepository);
|
||||||
String userID = null;
|
String userID = null;
|
||||||
@ -354,7 +353,6 @@ public class IMController extends Handler {
|
|||||||
userID = MainUtils.genIDByKey(sessionid);
|
userID = MainUtils.genIDByKey(sessionid);
|
||||||
}
|
}
|
||||||
String nickname = "Guest_" + userID;
|
String nickname = "Guest_" + userID;
|
||||||
logger.info("nick name {}", nickname);
|
|
||||||
boolean consult = true; //是否已收集用户信息
|
boolean consult = true; //是否已收集用户信息
|
||||||
SessionConfig sessionConfig = AutomaticServiceDist.initSessionConfig(orgi);
|
SessionConfig sessionConfig = AutomaticServiceDist.initSessionConfig(orgi);
|
||||||
|
|
||||||
|
@ -909,7 +909,6 @@ public class OnlineUserUtils {
|
|||||||
ipdata = IPTools.getInstance().findGeography(ip);
|
ipdata = IPTools.getInstance().findGeography(ip);
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.info("set new Request message nickname {}", nickname);
|
|
||||||
if (StringUtils.isBlank(nickname)) {
|
if (StringUtils.isBlank(nickname)) {
|
||||||
nickname = "Guest_" + userid;
|
nickname = "Guest_" + userid;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user