Commit d87ee1a4 by fudahua

点击刷新企业微信数据

parent 357f584d
...@@ -253,10 +253,10 @@ public class ApplicationController extends WebBaseController{ ...@@ -253,10 +253,10 @@ public class ApplicationController extends WebBaseController{
if(enterpriseDTO != null) { if(enterpriseDTO != null) {
String taskId = dealSyncOperationApiService.createQywxTask(wxEnterpriseId, "后门同步企业微信架构", login.getStaffDTO().getWxUserId(), "后门同步企业微信架构"); String taskId = dealSyncOperationApiService.createQywxTask(wxEnterpriseId, "后门同步企业微信架构", login.getStaffDTO().getWxUserId(), "后门同步企业微信架构");
if (StringUtils.isBlank(taskId)) { if (StringUtils.isBlank(taskId)) {
return resultResponse(HaoBanErrCode.ERR_1, false); return resultResponse(HaoBanErrCode.ERR_0, false);
} }
dealSyncOperationApiService.dealQywxDepartment(taskId, wxEnterpriseId); dealSyncOperationApiService.dealQywxDepartment(taskId, wxEnterpriseId);
} }
return resultResponse(HaoBanErrCode.ERR_0); return resultResponse(HaoBanErrCode.ERR_1);
} }
} }
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