月光代碼園

記錄、分享、交流

导航

2021年12月22日 #

Java集合类常用操作(持续更新)

摘要: 数组 判断数组里是否有某元素 Arrays.asList(whiteListArray).contains(userId); 阅读全文

posted @ 2021-12-22 10:09 bangdikka 阅读(25) 评论(0) 推荐(0) 编辑

Spring Boot @Aspect简单使用

摘要: @Aspect @Component public class TimeAspect { /** * 切入Controller */ @Pointcut("execution(public * com.yf.game.app.controller.GameRecordController.submi 阅读全文

posted @ 2021-12-22 09:46 bangdikka 阅读(375) 评论(0) 推荐(0) 编辑

Spring Boot全局异常处理

摘要: @RestControllerAdvice public class ExceptionHandler { @org.springframework.web.bind.annotation.ExceptionHandler(value=MissingServletRequestParameterEx 阅读全文

posted @ 2021-12-22 09:30 bangdikka 阅读(25) 评论(0) 推荐(0) 编辑

IDEA启动后无限update indices解决方法

摘要: 删除 C:\Users\用户名\.IntelliJIdea2017.3\system\caches 下所有文件 重新启动IDEA 阅读全文

posted @ 2021-12-22 08:53 bangdikka 阅读(1861) 评论(1) 推荐(0) 编辑