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

max amount字段类型过小 #3258

Closed
qianqianyi opened this issue Apr 17, 2024 · 0 comments · Fixed by #3267
Closed

max amount字段类型过小 #3258

qianqianyi opened this issue Apr 17, 2024 · 0 comments · Fixed by #3267

Comments

@qianqianyi
Copy link

简要描述

封装结果的类 字段类型是integer 太小了

模块版本情况

  • WxJava 模块名: weixin-java-pay
  • WxJava 版本号: 4.5.0

详细描述

在调用微信支付营销代金券服务类下面的条件查询代金券批次列表接口(queryFavorStocksV3)时出现了异常,可能是封装结果的类
FavorStocksQueryResult里面的总预算(单位分)maxAmount 类型是integer导致 因为我的预算是2200000000(单位分),

日志

string(130)"java.lang.NumberFormatException: xpected an
int but was 2200000000 at line 1 column 2555 path $,data[2].stock use rule.max amount"
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

Successfully merging a pull request may close this issue.

1 participant