摘要: 之前一直是用: if(userName == null && userName == ""){throw ServiceException("用户名不能为空"); } 后来:学会了Assert断言: Assert.hasText(ouserName,"用户名不能为空"); jar包: import 阅读全文
posted @ 2020-09-08 23:21 BlakeYa 阅读(2037) 评论(0) 推荐(0) 编辑