摘要: 可以用线程来做,每隔几秒开一个线程 代码如下 public void runTask() { final long timeInterval = 120000;// 两分钟运行一次 final ThreadService threadService = new ThreadService(); Ru 阅读全文
posted @ 2022-05-09 10:51 锐洋智能 阅读(1757) 评论(0) 推荐(0) 编辑
摘要: 需求场景:该业务要对节假日,周末,工作日进行指定设置,工作日可能调休,周末可能调整上班。 请求的接口: http://opendata.baidu.com/api.php?query=2020年5月&resource_id=6018&format=json 主要通过query值进行传参,获取想要的月 阅读全文
posted @ 2022-05-09 09:08 锐洋智能 阅读(7153) 评论(1) 推荐(1) 编辑