摘要: package org.jeecg.modules.quartz.job; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.jeecg.qywx.api.message.vo.News; i 阅读全文
posted @ 2021-12-28 20:40 11111ghm 阅读(37) 评论(0) 推荐(0) 编辑
摘要: Springboot的@RunWith(SpringRunner.class) 注解的意义在于Test测试类要使用注入的类,比如@Autowired注入的类, 有了@RunWith(SpringRunner.class)这些类才能实例化到spring容器中,自动注入才能生效, 不然直接一个NullP 阅读全文
posted @ 2021-12-28 19:30 11111ghm 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 调用第三方接口的时候使用的是rest template,然后它会有一个超时的时间,你需要去自动的设置,如果不设置就会按它的默认的超时时间。 阅读全文
posted @ 2021-12-28 17:04 11111ghm 阅读(978) 评论(1) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-12-28 13:56 11111ghm 阅读(77) 评论(0) 推荐(0) 编辑