Commit bc49e53c by 墨竹

feat:增加日志

parent dfcde27e
......@@ -919,6 +919,7 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
logger.info("标签数据为空");
return;
}
logger.info("企微标签同步:{}",param);
JSONObject jsonObject = JSON.parseObject(param);
String corpid = jsonObject.getString("corpid");
String suiteId = jsonObject.getString("suiteId");
......@@ -932,7 +933,6 @@ public class QywxTagApiServiceImpl implements QywxTagApiService {
logger.error("企微打标签超过最大次数,key:{}", key);
return;
}
logger.info("企微标签同步:{}",param);
QywxResponseDTO responseDTO = qywxUserApiService.markTag(corpid, suiteId, wxUserId, externalUserId, new HashSet<>(Arrays.asList(needSetTags.split(","))), new HashSet<>(Arrays.asList(needDelTags.split(","))));
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