调用接口
https://open.youzan.com/api/oaut ... ades.sold/4.0.0/get
YZClient client = new DefaultYZClient(new Token("xxxxx")); // new
YouzanTradesSoldGetParams youzanTradesSoldGetParams = new YouzanTradesSoldGetParams();
youzanTradesSoldGetParams.setFansId(6302905125L);//用户粉丝id
//youzanTradesSoldGetParams.setFansId(6122618609L);
// youzanTradesSoldGetParams.setStatus("TRADE_CLOSE");
//youzanTradesSoldGetParams.setStatus("WAIT_BUYER_CONFIRM_GOODS");
YouzanTradesSoldGet youzanTradesSoldGet = new YouzanTradesSoldGet();
youzanTradesSoldGet.setAPIParams(youzanTradesSoldGetParams);
YouzanTradesSoldGetResult result = client.invoke(youzanTradesSoldGet);
com.youzan.open.sdk.exception.KDTException: ErrorResponse{code='5000', msg='无订单列表'}
有赞后台 是有这个用户的商品信息的
本帖最后由 d7fa1ae7bb0c 于 2018-9-3 16:38 编辑
|