‘linchangsheng’ 3 months ago
parent
commit
8337d3ecf3

+ 1 - 1
mall-server-api/src/main/java/com/gree/mall/manager/schedule/SyncUnicomeCallRecord.java

@@ -29,7 +29,7 @@ public class SyncUnicomeCallRecord {
     public void task(){
         //同步最近5分钟的通话记录
         try {
-            DateTime startTime = DateUtil.offsetMinute(new Date(), -30);
+            DateTime startTime = DateUtil.offsetMinute(new Date(), -2);
             unicomLogic.syncMsgRecord(startTime, new Date());
         }catch(Exception e){
             log.error("【同步通话记录失败】...");