@Autowired 用于主动实例化对象 @PostConstruct 项目每次启动的时候会执行对应的方法 (加在方法上) @Scheduled(fixedRate = 1000*30) 定时任务执行对应方法 (加在方法上)