修复 WxMaExpressDeliveryReturnServiceImpl 中 GET/POST 方法使用错误 #3777
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WxMaExpressDeliveryReturnServiceImpl的三个方法错误使用service.get()传递 JSON 参数。GET 请求执行器期望 URL 查询字符串格式(return_id=xxx),而非 JSON 格式({"return_id":"xxx"})。根据微信 API 约定及项目中同类实现(如
WxMaExpressServiceImpl.getOrder),这些接口应使用 POST 请求。修复内容
addDeliveryReturn:service.get()→service.post()getDeliveryReturn:service.get()→service.post(),直接传递JsonObjectunbindDeliveryReturn:service.get()→service.post(),直接传递JsonObject修复前后对比
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.