java接口对入参的判断校验 之前一直是用: if(userName == null && userName == ""){throw ServiceException("用户名不能为空"); } 后来:学 ...