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
`@Getter @Setter public class ApiResultResponse {
private T apiResult;
}`
远程调用代码 `@FeignClient public interface DemoClient {
@PostMapping("/coupon/list") ApiResultResponse<List<CouponDetail>> getList();
调用接收代码 ApiResultResponse<List<CouponDetail>> couponDetailList = demoClient.getList();
ApiResultResponse<List<CouponDetail>> couponDetailList = demoClient.getList();
这段逻辑在升级之前的版本1.2.70是正常的(couponDetailList 对象里面能正常取到值)。 升级到1.2.76后,这行代码 ApiResultResponse<List<CouponDetail>> couponDetailList = demoClient.getList(); 一直报类型转换异常。
在1.2.70 从couponDetailList中取出来的值是List对象,类型转换正常。 但是到了1.2.76版本取出来的是JSONArray
The text was updated successfully, but these errors were encountered:
CouponDetail
getList()
Sorry, something went wrong.
同样问题,升级到1.2.76版本取出来的是JSONArray,降到1.2.75正常
Duplicate of #3810
No branches or pull requests
`@Getter
@Setter
public class ApiResultResponse {
}`
远程调用代码
`@FeignClient
public interface DemoClient {
}`
调用接收代码
ApiResultResponse<List<CouponDetail>> couponDetailList = demoClient.getList();
这段逻辑在升级之前的版本1.2.70是正常的(couponDetailList 对象里面能正常取到值)。
升级到1.2.76后,这行代码
ApiResultResponse<List<CouponDetail>> couponDetailList = demoClient.getList();
一直报类型转换异常。在1.2.70 从couponDetailList中取出来的值是List对象,类型转换正常。
但是到了1.2.76版本取出来的是JSONArray
The text was updated successfully, but these errors were encountered: