Commit cc1553c0c55aaa034097b74b641f7e3154b78ed4

Authored by 张志伟
1 parent ebe8a708

feature(*): 优化查询活动资格

- 优化查询活动资格
fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/pub/PubDistributeBizService.java
... ... @@ -352,6 +352,11 @@ public class PubDistributeBizService {
352 352 dto.setLoseClue(Boolean.FALSE);
353 353 dto.setRenewalClue(hasInsFollow);
354 354 dto.setActivityNo(staffInfo.getIdCode());
  355 + try {
  356 + Thread.sleep(150);
  357 + } catch (InterruptedException e) {
  358 + log.info("节流失败");
  359 + }
355 360 Boolean canJoinActivity = mktRpcService.queryQualifications(dto);
356 361 if (Boolean.TRUE.equals(canJoinActivity)) {
357 362 list.add(vin);
... ...