Hello Annotation Java注解使用技巧 运行程序时,需要配置MySQL和Redis 在使用MyBatis的注解MapperScan()时,连接MySQL 自定义注解实现接口访问频率控制时,使用Redis统计访问次数。 在application.yml中配置MySQL和Redis信息