From f40547a459019476657d0aefdfdf3819b8e2baea Mon Sep 17 00:00:00 2001
From: Binary Wang <binarywang@gmail.com>
Date: Mon, 1 Feb 2021 17:36:23 +0800
Subject: [PATCH] =?UTF-8?q?:bug:=20#1985=20=E3=80=90=E4=BC=81=E4=B8=9A?=
 =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E3=80=91=E4=BF=AE=E5=A4=8D=E7=BE=A4=E6=9C=BA?=
 =?UTF-8?q?=E5=99=A8=E4=BA=BA=E5=8F=91=E9=80=81=E6=B6=88=E6=81=AF=E7=9A=84?=
 =?UTF-8?q?=E9=83=A8=E5=88=86=E9=94=99=E8=AF=AF=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../chanjar/weixin/cp/api/impl/WxCpGroupRobotServiceImpl.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/WxCpGroupRobotServiceImpl.java b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/WxCpGroupRobotServiceImpl.java
index c20c4a138..9661adf47 100644
--- a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/WxCpGroupRobotServiceImpl.java
+++ b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api/impl/WxCpGroupRobotServiceImpl.java
@@ -76,7 +76,7 @@ public class WxCpGroupRobotServiceImpl implements WxCpGroupRobotService {
 
   @Override
   public void sendImage(String webhookUrl, String base64, String md5) throws WxErrorException {
-    this.cpService.postWithoutToken(this.getWebhookUrl(), new WxCpGroupRobotMessage()
+    this.cpService.postWithoutToken(webhookUrl, new WxCpGroupRobotMessage()
       .setMsgType(GroupRobotMsgType.IMAGE)
       .setBase64(base64)
       .setMd5(md5).toJson());
@@ -84,7 +84,7 @@ public class WxCpGroupRobotServiceImpl implements WxCpGroupRobotService {
 
   @Override
   public void sendNews(String webhookUrl, List<NewArticle> articleList) throws WxErrorException {
-    this.cpService.postWithoutToken(this.getWebhookUrl(), new WxCpGroupRobotMessage()
+    this.cpService.postWithoutToken(webhookUrl, new WxCpGroupRobotMessage()
       .setMsgType(GroupRobotMsgType.NEWS)
       .setArticles(articleList).toJson());
   }