1
0
mirror of synced 2026-10-15 20:06:14 +08:00

🎨 #4023 【视频号】修复 WxAssistantServiceImpl 所有方法请求参数未传递的问题

This commit is contained in:
Copilot
2026-06-01 22:15:03 +08:00
committed by GitHub
parent d427f0cf1f
commit 4284b0bc97

View File

@@ -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);
}
}