yumeng hai 1 ano
pai
achega
f389e7016a

+ 3 - 3
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/service/impl/JiaoYangFenXiaoServiceImpl.java

@@ -43,7 +43,7 @@ public class JiaoYangFenXiaoServiceImpl implements IJiaoYangFenXiaoService {
 
     @Override
     public void getOrderList(String cookie, Integer offset, Long orderCreateTimeStart, Long orderCreateTimeEnd) throws Exception {
-        Thread.sleep(1000L);
+        Thread.sleep(1500L);
         Map<String, Object> params = new HashMap<>();
         if (!Check.isNull(orderCreateTimeStart)) {
             params.put("orderCreateTimeStart", orderCreateTimeStart);
@@ -54,7 +54,7 @@ public class JiaoYangFenXiaoServiceImpl implements IJiaoYangFenXiaoService {
         //  params.put("fundType", 1);
         params.put("limit", 200);
         params.put("offset", offset);
-
+        params.put("timeType", 1);
         Map<String, String> headers = new HashMap<>();
         headers.put("Cookie", cookie);
 
@@ -145,7 +145,7 @@ public class JiaoYangFenXiaoServiceImpl implements IJiaoYangFenXiaoService {
         }
         Integer code = result.getInteger("result");
         if (code != 1) {
-            log.info("骄阳分销数据返回异常:", resultStr);
+            log.info("骄阳分销尔创列表数据返回异常:", resultStr);
             sendMessageService.sendMessage("113dee46c7df464da78c07a985e92cd1", "骄阳分销cookie失效,请及时更新。媒体返回信息:" + resultStr);
             return;
         }

+ 1 - 0
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/service/impl/KuaishouSupplyChainServiceImpl.java

@@ -51,6 +51,7 @@ public class KuaishouSupplyChainServiceImpl extends ServiceImpl<KuaishouSupplyCh
             params.put("orderCreateTimeEnd", orderCreateTimeEnd);
         }
         params.put("fundType", 1);
+        params.put("timeType", 1);
         params.put("limit", 200);
         params.put("offset", offset);