Forráskód Böngészése

/* 淘宝订单抓取 优化

   author by shenl  2020-11-17 */  实时sessionKEY待获取
sl 5 éve
szülő
commit
d58cb001c5

+ 9 - 1
src/main/java/com/uas/eis/serviceImpl/InsertServiceImpl.java

@@ -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");