Commit 83bab5d3 by qwmqiuwenmin

fix

parent d7e9cebb
......@@ -509,7 +509,7 @@ public class DepartmentApiServiceImpl implements DepartmentApiService {
logger.info("【同步企业微信】wxEnterpriseId={}","init_enterprise_" + wxEnterpriseId);
String key = "init_enterprise_" + wxEnterpriseId;
if(RedisUtil.getCache(key) != null){
RedisUtil.setCache(key, 60 * 60L);
RedisUtil.setCache(key,1, 60 * 60L);
String taskId = StringUtil.randomUUID();
List<com.gic.wechat.api.dto.qywx.DepartmentDTO> list = this.qywxDepartmentApiService.listSelfDepartment(corpid, contactSecret, null);
logger.info("企业所有部门数据:{}", JSON.toJSONString(list));
......
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