delete
parent
be088a61f9
commit
3b2df641ea
|
@ -5,8 +5,6 @@ import com.ljsd.jieling.logic.dao.UserManager;
|
|||
import com.ljsd.jieling.netty.PackageConstant;
|
||||
import com.ljsd.jieling.netty.cocdex.Tea;
|
||||
import com.ljsd.jieling.network.session.ISession;
|
||||
import com.ljsd.jieling.protocols.PlayerInfoProto;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
@ -71,12 +69,12 @@ public class MessageUtil {
|
|||
}
|
||||
|
||||
public static void sendErrorCode(ISession session,int result,int msgId,String errMsg) throws Exception {
|
||||
if(StringUtils.isEmpty(errMsg)){
|
||||
/* if(StringUtils.isEmpty(errMsg)){
|
||||
sendMessage(session, result, msgId, null, true);
|
||||
}else{
|
||||
PlayerInfoProto.ErrorMsgResponse build = PlayerInfoProto.ErrorMsgResponse.newBuilder().setMsg(errMsg).build();
|
||||
sendMessage(session, result, msgId, build, true);
|
||||
}
|
||||
}*/
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue