Commit a17f473e by jinxin

定时同步企业微信通讯录列表

parent b00b135d
...@@ -1214,6 +1214,10 @@ public class StaffApiServiceImpl implements StaffApiService { ...@@ -1214,6 +1214,10 @@ public class StaffApiServiceImpl implements StaffApiService {
for (String wxEnterpriseId : wxEnterpriseList){ for (String wxEnterpriseId : wxEnterpriseList){
logger.info("开始刷新:{}",wxEnterpriseId); logger.info("开始刷新:{}",wxEnterpriseId);
String taskId = dealSyncOperationApiService.createQywxTask(wxEnterpriseId, "后门同步企业微信架构", "定时同步处理", "后门同步企业微信架构"); String taskId = dealSyncOperationApiService.createQywxTask(wxEnterpriseId, "后门同步企业微信架构", "定时同步处理", "后门同步企业微信架构");
if (StringUtils.isBlank(taskId)) {
logger.info("企业微信id:{},创建异步任务异常!",wxEnterpriseId);
return com.gic.api.base.commons.ServiceResponse.failure("-9999","创建异步任务失败!");
}
String ret = dealSyncOperationApiService.dealQywxDepartment(taskId, wxEnterpriseId); String ret = dealSyncOperationApiService.dealQywxDepartment(taskId, wxEnterpriseId);
if (null != ret) { if (null != ret) {
logger.info("企业微信id:{},异常信息返回:{}",wxEnterpriseId,ret); logger.info("企业微信id:{},异常信息返回:{}",wxEnterpriseId,ret);
......
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