YouzanTradesSoldGetResult result = yzClient.invoke(youzanTradesSoldGet, token,YouzanTradesSoldGetResult.class);和接口文档请求示例一样,为何这句会报错呢?
YouZanClient yzClient = new DefaultYZClient();
String accessToken = this.getAccessToken();
Token token = new Token(accessToken);
YouzanTradesSoldGetParams youzanTradesSoldGetParams = new YouzanTradesSoldGetParams();
youzanTradesSoldGetParams.setKeywords("E20230112114922012902012");
youzanTradesSoldGetParams.setType("NORMAL");
youzanTradesSoldGetParams.setNeedOrderUrl(false);
youzanTradesSoldGetParams.setTid("E20230112114922012902012");
youzanTradesSoldGetParams.setNodeKdtId(58805166L);
youzanTradesSoldGetParams.setPageSize(20);
youzanTradesSoldGetParams.setPageNo(1);
YouzanTradesSoldGet youzanTradesSoldGet = new YouzanTradesSoldGet(youzanTradesSoldGetParams);
YouzanTradesSoldGetResult result = yzClient.invoke(youzanTradesSoldGet, token,YouzanTradesSoldGetResult.class);
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|