摘要: public final ObjectMapper mapper = new ObjectMapper(); public static void main(String[] args) throws Exception{ String jsonString = getJsonString(); / 阅读全文
posted @ 2018-03-26 18:05 lgp20151222 阅读(946) 评论(0) 推荐(0) 编辑
摘要: @Component public class ScheduledTasks { @Autowired private ActivityService activityService; // 1000即1s @Scheduled(fixedRate = 1000) public void repor 阅读全文
posted @ 2018-03-26 17:54 lgp20151222 阅读(420) 评论(0) 推荐(0) 编辑