1、properties文件中增加配置项: datasync.cron=0 */10 * * * ? 2、定时任务类增加PropertySource注解: @PropertySource(“class ...

关注我们的公众号

微信公众号