Skip to content
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

微信退款回调返回值类型不匹配 #3106

Closed
lemos1235 opened this issue Aug 8, 2023 · 1 comment
Closed

微信退款回调返回值类型不匹配 #3106

lemos1235 opened this issue Aug 8, 2023 · 1 comment

Comments

@lemos1235
Copy link

lemos1235 commented Aug 8, 2023

相关代码

    /**
     * <pre>
     * 字段名:退款金额
     * 变量名:refund
     * 是否必填:是
     * 类型:int
     * 描述:
     *  退款金额,币种的最小单位,只能为整数,不能超过原订单支付金额,如果有使用券,后台会按比例退。
     * 示例值:999
     * </pre>
     */
    @SerializedName(value = "refund")
    private String refund;

类型貌似不对,应为 Integer

下面还有个 payerRefund 字段,也是同样的情况。

@binarywang
Copy link
Owner

其实你可以直接提交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