zhaotx 1 год назад
Родитель
Сommit
641f59ea97

+ 4 - 1
job-bytedance/src/main/java/cn/com/ctop/job/bytedance/data/service/impl/OptimizerRankPushServiceImpl.java

@@ -126,8 +126,11 @@ public class OptimizerRankPushServiceImpl implements IOptimizerRankPushService {
             }
             template_variable.put("object_list_5", object_list_5);
             System.out.println("发送目标: nickName: "+nickName+", userId: "+ userId + ", feishuUserId: "+mobileMap.get(phoneNumber)+", rank: "+rank+", costAmount: "+costAmount);
-            sendToFeishu(token, template_variable, mobileMap.get(phoneNumber));
+//            sendToFeishu(token, template_variable, mobileMap.get(phoneNumber));
 //            sendToFeishu(token, template_variable, "44fbaed6");
+            try {
+                Thread.sleep(1000);
+            }catch (Exception ignored){}
             //clear
         }
     }