Commit 93c9a3fd by 徐高华

Merge branch 'developer' of http://git.gicdev.com/haoban3.0/haoban-manage3.0.git into developer

parents b679bac6 7a6a47a7
......@@ -42,6 +42,7 @@ import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
import java.util.*;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
import static org.slf4j.LoggerFactory.getLogger;
......@@ -101,8 +102,6 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
for (QywxTagGroupDTO groupDTO : tagGroup) {
qywxTagService.saveQywxTagByQywxGroupKey(wxEnterpriseId, groupDTO);
}
}
@Override
......@@ -551,6 +550,11 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
logger.info("不需要操作:{},{}", wxUserId, externalUserId);
return;
}
try {
TimeUnit.MILLISECONDS.sleep(100L);
} catch (InterruptedException e) {
logger.error("同步标签报错:{}",e.getMessage());
}
QywxResponseDTO responseDTO = qywxUserApiService.markTag(wxEnterprise.getCorpid(), config.getWxSuiteid(), wxUserId, externalUserId, needSetTags, needDelTags);
logger.info("操作返回:{}", JSONObject.toJSONString(responseDTO));
if (responseDTO.getErrcode() != 0) {
......@@ -560,7 +564,6 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
return;
}
});
return resp;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment