Browse Source

12-05 代理地址还原 由http://gw.api.taobao.com/router/rest 还原 成
http://39.98.201.114:30001/router/rest

shenliang 3 years ago
parent
commit
dda12e17df
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/main/java/com/uas/eis/serviceImpl/InsertServiceImpl.java

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

@@ -92,7 +92,7 @@ public class InsertServiceImpl implements InsertService {
             String session_Key = list.get(z).get("tb_code").toString();
 
             if (sa_remark == null || sa_remark == "") {
-                TaobaoClient client = new DefaultTaobaoClient("http://gw.api.taobao.com/router/rest", "31921866", "7121c52d4c9970ba08bf09e2f525acd0");
+                TaobaoClient client = new DefaultTaobaoClient("http://39.98.201.114:30001/router/rest", "31921866", "7121c52d4c9970ba08bf09e2f525acd0");
                 TradesSoldGetRequest req = new TradesSoldGetRequest();  //正常备份接口
                 req.setFields("total_results,has_next,trades,seller_nick,pic_path,payment,seller_rate,post_fee,receiver_name,receiver_state,receiver_address,receiver_zip,receiver_mobile"+
                         ",receiver_phone,consign_time,received_payment,receiver_country,receiver_town,order_tax_fee,shop_pick,tid,num,num_iid,status,title,type,price,discount_fee"+
@@ -142,7 +142,7 @@ public class InsertServiceImpl implements InsertService {
                 }
 
             } else {
-                TaobaoClient client2 = new DefaultTaobaoClient("http://gw.api.taobao.com/router/rest", "31921866", "7121c52d4c9970ba08bf09e2f525acd0");
+                TaobaoClient client2 = new DefaultTaobaoClient("http://39.98.201.114:30001/router/rest", "31921866", "7121c52d4c9970ba08bf09e2f525acd0");
                 TradesSoldIncrementGetRequest req2 = new TradesSoldIncrementGetRequest();  //增量备份接口
                 req2.setFields("total_results,has_next,trades,seller_nick,pic_path,payment,seller_rate,post_fee,receiver_name,receiver_state,receiver_address,receiver_zip,receiver_mobile"+
                         ",receiver_phone,consign_time,received_payment,receiver_country,receiver_town,order_tax_fee,shop_pick,tid,num,num_iid,status,title,type,price,discount_fee"+
@@ -246,7 +246,7 @@ public class InsertServiceImpl implements InsertService {
                     obj3.setTid(tid6);
                     obj3.setScene("1001");
                     req6.setQueryList(list2);
-                    TaobaoClient client6 = new DefaultTaobaoClient("http://gw.api.taobao.com/router/rest", "31921866", "7121c52d4c9970ba08bf09e2f525acd0");
+                    TaobaoClient client6 = new DefaultTaobaoClient("http://39.98.201.114:30001/router/rest", "31921866", "7121c52d4c9970ba08bf09e2f525acd0");
                     String name_oaid=trimNull(trades.get(i).getReceiverName() );
                     String receiver_mobile=trimNull(trades.get(i).getReceiverMobile() );
                     String address=trimNull(trades.get(i).getReceiverState() ) + trimNull(trades.get(i).getReceiverCity() ) + trimNull(trades.get(i).getReceiverDistrict() ) +  trimNull( trades.get(i).getReceiverAddress() );