- 博客(3)
- 收藏
- 关注

原创 关于hibernate-validator分组校验
使用Group分组来完成字段的校验先看代码总结在下面/** * @desc: * @author: shy * @date: 2020/6/8 17:18 */public class User { @NotNull(message = "id不能为空",groups = {Update.class}) Integer userId; @NotNull(message = "姓名不能为空",groups = {Add.class,Update.class})
2020-06-08 17:36:21
407

原创 SpringBoot启动自动终止也不报错
Error starting ApplicationContext. To display the auto-configuration report re-run your application with ‘debug’ enabled.Disconnected from the target VM, address: ‘127.0.0.1:57137’, transport: ‘socke...
2020-04-23 11:12:15
1612
原创 XX商城all.js:329 Uncaught TypeError: Cannot read property 'offsetWidth' of undefined
all.js:329 Uncaught TypeError: Cannot read property ‘offsetWidth’ of undefined如果看到这个问题的话,不要纠结直接删除镜像,再重新解压一份,就没问题了
2019-12-25 16:19:12
1332
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人