From e45201196cc5dac79aaf072e6276c56852783b7a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 May 2026 12:48:50 +0000 Subject: [PATCH 1/2] Initial plan From 3e78833d3a57a58b14855398c537bcf491c50b75 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 27 May 2026 12:59:17 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20WxAssistantServiceImpl?= =?UTF-8?q?=20=E6=89=80=E6=9C=89=E6=96=B9=E6=B3=95=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=9C=AA=E4=BC=A0=E9=80=92=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../weixin/channel/api/impl/WxAssistantServiceImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/api/impl/WxAssistantServiceImpl.java b/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/api/impl/WxAssistantServiceImpl.java index 55be5abcca..58d6d45269 100644 --- a/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/api/impl/WxAssistantServiceImpl.java +++ b/weixin-java-channel/src/main/java/me/chanjar/weixin/channel/api/impl/WxAssistantServiceImpl.java @@ -31,25 +31,25 @@ public class WxAssistantServiceImpl implements WxAssistantService { private final BaseWxChannelServiceImpl shopService; @Override public WxChannelBaseResponse addWindowProduct(AddWindowProductRequest req) throws WxErrorException { - String resJson = shopService.post(ADD_WINDOW_PRODUCT_URL, "{}"); + String resJson = shopService.post(ADD_WINDOW_PRODUCT_URL, req); return ResponseUtils.decode(resJson, WxChannelBaseResponse.class); } @Override public GetWindowProductResponse getWindowProduct(WindowProductRequest req) throws WxErrorException { - String resJson = shopService.post(GET_WINDOW_PRODUCT_URL, "{}"); + String resJson = shopService.post(GET_WINDOW_PRODUCT_URL, req); return ResponseUtils.decode(resJson, GetWindowProductResponse.class); } @Override public GetWindowProductListResponse getWindowProductList(GetWindowProductListRequest req) throws WxErrorException { - String resJson = shopService.post(LIST_WINDOW_PRODUCT_URL, "{}"); + String resJson = shopService.post(LIST_WINDOW_PRODUCT_URL, req); return ResponseUtils.decode(resJson, GetWindowProductListResponse.class); } @Override public WxChannelBaseResponse offWindowProduct(WindowProductRequest req) throws WxErrorException { - String resJson = shopService.post(OFF_WINDOW_PRODUCT_URL, "{}"); + String resJson = shopService.post(OFF_WINDOW_PRODUCT_URL, req); return ResponseUtils.decode(resJson, WxChannelBaseResponse.class); } }