|
|
@@ -58,11 +58,19 @@ public class InsertServiceImpl implements InsertService {
|
|
|
|
|
|
@Override
|
|
|
public void getAllDate(){
|
|
|
- TaobaoClient client = new DefaultTaobaoClient("http://gw.api.taobao.com/router/rest=31921866", "31921866", "7121c52d4c9970ba08bf09e2f525acd0");
|
|
|
+ TaobaoClient client1 = new DefaultTaobaoClient("http://auth.open.taobao.com/?appkey=31921866", "31921866", "7121c52d4c9970ba08bf09e2f525acd0");
|
|
|
+
|
|
|
|
|
|
+ TaobaoClient client = new DefaultTaobaoClient("http://gw.api.taobao.com/router/rest=31921866", "31921866", "7121c52d4c9970ba08bf09e2f525acd0");
|
|
|
+// TaobaoClient client2 = new DefaultTaobaoClient("http://container.open.taobao.com/container?authcode={授权码}", "31921866", "7121c52d4c9970ba08bf09e2f525acd0");
|
|
|
+//
|
|
|
// ((DefaultTaobaoClient) client).getRequestUrl("http://auth.open.taobao.com/?appkey=31921866")
|
|
|
// 查询卖家已卖出的交易数据
|
|
|
TradesSoldGetRequest req = new TradesSoldGetRequest();
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
// OpenTradesSoldGetRequest req = new OpenTradesSoldGetRequest();
|
|
|
req.setFields("tid,type,status,payment,orders,rx_audit_status");
|
|
|
|