Commit ff265b35 by qwmqiuwenmin

fix

parent 1a3e688f
...@@ -528,6 +528,9 @@ public class WxEnterpriseController extends WebBaseController{ ...@@ -528,6 +528,9 @@ public class WxEnterpriseController extends WebBaseController{
return resultResponse(HaoBanErrCode.ERR_0,"一个月只能刷新3次"); return resultResponse(HaoBanErrCode.ERR_0,"一个月只能刷新3次");
} }
String taskId = dealSyncOperationApiService.createWxFriendTask(wxEnterpriseId, "刷新企微好友", login.getStaffDTO().getStaffId(), "刷新企微好友"); String taskId = dealSyncOperationApiService.createWxFriendTask(wxEnterpriseId, "刷新企微好友", login.getStaffDTO().getStaffId(), "刷新企微好友");
if(StringUtils.isEmpty(taskId)){
return resultResponse(HaoBanErrCode.ERR_0,"创建任务失败");
}
dealSyncOperationApiService.dealWxFriendClerk(taskId, wxEnterpriseId); dealSyncOperationApiService.dealWxFriendClerk(taskId, wxEnterpriseId);
RedisUtil.setCache(dayKey, dayCount+1); RedisUtil.setCache(dayKey, dayCount+1);
RedisUtil.setCache(monthKey, monthCount+1); RedisUtil.setCache(monthKey, monthCount+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