Closed
Description
简要描述
企业微信机器人webhookUrl地址无法在调用接口中设置,WxCpGroupRobotServiceImpl
模块版本情况
- WxJava 模块名: weixin-java-cp
- WxJava 版本号:4.0.0
详细描述
@OverRide
public void sendNews(String webhookUrl, List articleList) throws WxErrorException {
this.cpService.postWithoutToken(this.getWebhookUrl(), new WxCpGroupRobotMessage()
.setMsgType(GroupRobotMsgType.NEWS)
.setArticles(articleList).toJson());
}