From 4284b0bc9706cced7dac41246edc39c84c7cedd0 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:15:03 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20#4023=20=E3=80=90=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E5=8F=B7=E3=80=91=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 55be5abcc..58d6d4526 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); } }