天眼日志

master
mengchengzhen 2021-06-24 10:27:25 +08:00
parent 62e397e8d3
commit 44e1c0332a
1 changed files with 2 additions and 0 deletions

View File

@ -140,9 +140,11 @@ public class GMHandler extends BaseHandler {
jsonBan.put("dsid",zoneId);
jsonBan.put("treat_type","7");
jsonBan.put("banReason",content);
LOGGER.info("message","ty,userId:{},zoneId:{},content:{},time:{}",userId,zoneId,content,time);
CUserInfo coreUserInfo = userInfoDao.findUserInfoByUserId(Integer.valueOf(userId));
if (coreUserInfo == null) {
map.put("message","帐号不存在"+userId);
LOGGER.error("message","天眼帐号不存在userId:{}",userId);
throw new Exception("帐号不存在");
} else {
ServerInfo coreServerList = serverListDao.getServerinfo(String.valueOf(coreUserInfo.getServerid()));