Commit df5a3905 by 墨竹

refactor:删除标签修改

parent e0387f7b
......@@ -42,7 +42,6 @@ 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;
......@@ -550,11 +549,7 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
logger.info("不需要操作:{},{}", wxUserId, externalUserId);
return;
}
try {
TimeUnit.MILLISECONDS.sleep(100L);
} catch (InterruptedException e) {
logger.error("同步标签报错:{}",e.getMessage());
}
// TODO: 2022/6/6 后续改为消息队列
QywxResponseDTO responseDTO = qywxUserApiService.markTag(wxEnterprise.getCorpid(), config.getWxSuiteid(), wxUserId, externalUserId, needSetTags, needDelTags);
logger.info("操作返回:{}", JSONObject.toJSONString(responseDTO));
if (responseDTO.getErrcode() != 0) {
......
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