We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
服务商查询批量转账订单接口,指定detailStatus字段时,报错
调用参数: BatchNumberRequest batchNumberRequest = new BatchNumberRequest(); batchNumberRequest.setBatchId("xxx"); batchNumberRequest.setNeedQueryDetail(true); batchNumberRequest.setOffset(0); batchNumberRequest.setDetailStatus("ALL");
BatchNumberResult batchNumberResult = wxPayService.getPartnerTransferService().queryBatchByBatchId(batchNumberRequest);
返回结果: 异常信息】:无法将输入源“/query/detail_status#2”映射到目标字段“明细状态”中,此字段并非多重字段但被输入源“/query/detail_status”映射过了。
PartnerTransferServiceImpl.queryBatchByBatchId(BatchNumberRequest request) (line 84) String query = String.format("?need_query_detail=%s&detail_status=ALL&offset=%s&limit=%s", request.getNeedQueryDetail(), request.getOffset(), request.getLimit()); if (StringUtil.isNotBlank(request.getDetailStatus())) { query += "&detail_status=" + request.getDetailStatus(); }
query里面已经拼接了detail_status字段, 如果传入参数指定了状态,会再拼接一次,导致微信接口返回错
The text was updated successfully, but these errors were encountered:
Fix issue binarywang#3023 1.查询批量转账订单,传入detailStatus参数是报错
9893418
2.提交批量转账订单,传入身份证未加密
🆕 #3023 【微信支付】增加根据账户类型查询二级商户实时余额的接口,同时修复批量转账订单相关接口的问题
0640c10
Successfully merging a pull request may close this issue.
另外如果确认属于bug,而且已明确如何修复,请参考贡献指南直接提交PR,省的浪费时间在这里描述问题,非常感谢配合
简要描述
服务商查询批量转账订单接口,指定detailStatus字段时,报错
模块版本情况
详细描述
调用参数:
BatchNumberRequest batchNumberRequest = new BatchNumberRequest();
batchNumberRequest.setBatchId("xxx");
batchNumberRequest.setNeedQueryDetail(true);
batchNumberRequest.setOffset(0);
batchNumberRequest.setDetailStatus("ALL");
返回结果:
异常信息】:无法将输入源“/query/detail_status#2”映射到目标字段“明细状态”中,此字段并非多重字段但被输入源“/query/detail_status”映射过了。
源码bug部分:
PartnerTransferServiceImpl.queryBatchByBatchId(BatchNumberRequest request)
(line 84) String query = String.format("?need_query_detail=%s&detail_status=ALL&offset=%s&limit=%s",
request.getNeedQueryDetail(), request.getOffset(), request.getLimit());
if (StringUtil.isNotBlank(request.getDetailStatus())) {
query += "&detail_status=" + request.getDetailStatus();
}
query里面已经拼接了detail_status字段, 如果传入参数指定了状态,会再拼接一次,导致微信接口返回错
The text was updated successfully, but these errors were encountered: