Skip to content

v3请求结果能不能保留原始内容返回 #3565

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ixqbar opened this issue Apr 28, 2025 · 1 comment
Open

v3请求结果能不能保留原始内容返回 #3565

ixqbar opened this issue Apr 28, 2025 · 1 comment

Comments

@ixqbar
Copy link

ixqbar commented Apr 28, 2025

如题

背景是v3请求返回的结果框架大部分都是通过

GSON.fromJson(result, XXXResult.class); 

一旦官网返回有更新调整, XXXResult.class字段属性定义与接口就有差异, 能否XXXResult 保留返回的raw内容方便自主操作

诸如: https://pay.weixin.qq.com/doc/v3/merchant/4012460564
里的card_id 在 FavorStocksGetResult 就没有定义

@binarywang
Copy link
Owner

你可以自行调用对应的post方法进行自主操作,或者直接提交PR代码补充完善相应代码

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants