功能bug

back_recharge
zhangshanxue 2020-06-08 10:50:50 +08:00
parent 0de940f9d0
commit a71818e1b5
2 changed files with 4 additions and 4 deletions

View File

@ -177,7 +177,7 @@ public class HandlerLogicThread extends Thread{
LOGGER.error(ErrorUtil.getExceptionStackTraceFileLineAndMethod(e));
}else {
LOGGER.info(e.toString());
LOGGER.debug(ErrorUtil.getExceptionStackTraceFileLineAndMethod(e));
LOGGER.error(ErrorUtil.getExceptionStackTraceFileLineAndMethod(e));
}
MessageUtil.sendErrorResponse(session, errCode, session.getLastMsgId() + 1,(ErrorCodeException)e);
return;

View File

@ -183,9 +183,9 @@ public class PlayerLogic {
}
private boolean checkName(ISession iSession, String name, int msgId) throws Exception {
if(!Repot37EventUtil.Report37Chat(UserManager.getUser(iSession.getUid()), ChatContentType.ROLE_NAME,name)){
throw new ErrorCodeException(ErrorCode.NAME_ILLEGAL);
}
// if(!Repot37EventUtil.Report37Chat(UserManager.getUser(iSession.getUid()), ChatContentType.ROLE_NAME,name)){
// throw new ErrorCodeException(ErrorCode.NAME_ILLEGAL);
// }
int length = getStrLength(name);
if (length == -1) {
throw new ErrorCodeException(ErrorCode.NAME_ILLEGAL);