TradesSoldGetRequest req=new TradesSoldGetRequest();
req.setFields("fid");
req.setStartCreated(getDate());
req.setEndCreated(new Date());
TradesGetResponse rsp=josnclient.tradesSoldGet(req, sessionID);
int totalnum=rsp.getTotalResults(); //得到总条数
老是报这个错误com.taobao.api.json.JSONException: A JSONObject text must begin with '{' at character 1
侃侃无极
相关分类