eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/approval/service/impl/TemplateControlFieldServiceImpl.java
@@ -202,7 +202,7 @@ Dict dict = dictRepository.findByName(Constant.WECOM_LEAVE_TYPE); // 获取企业微信Token wxCpService.getAccessToken(); wxCpService.getAccessToken(true); // 假勤组件需要获取假期相关配置 WxCpCorpConfInfo corpConfInfo = wxCpService.getOaService().getCorpConf(); List<DictDetail> newDictDetails = corpConfInfo.getLists().stream().map(m -> { @@ -299,7 +299,7 @@ public List<String> uploadWecomMediaFile(List<String> filePaths) { try { // 获取企业微信Token wxCpService.getAccessToken(); wxCpService.getAccessToken(true); // 提交临时素材文件 return filePaths.stream().map(path -> { @@ -780,7 +780,7 @@ } // 获取企业微信Token wxCpService.getAccessToken(); wxCpService.getAccessToken(true); // 初始化参数 WxCpOaApplyEventRequest eventRequest = new WxCpOaApplyEventRequest(); eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/approval/service/impl/TemplateServiceImpl.java
@@ -132,7 +132,7 @@ try { if (criteria.getQueryNew()) { // 获取企业微信Token wxCpService.getAccessToken(); wxCpService.getAccessToken(true); // 获取指定模版详细信息 WxCpOaApprovalTemplateResult templateResult = wxCpService.getOaService().getTemplateDetail(criteria.getTemplateId()); eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/quartz/service/impl/WeComServiceImpl.java
@@ -192,7 +192,7 @@ public void getWeComAttendanceListOfNoon(String attendDate, List attUser) throws Exception { try { // 获取企业微信Token wxCpService.getAccessToken(); wxCpService.getAccessToken(true); // 获取参数日期类 Calendar calAttendDate = Calendar.getInstance(); @@ -329,7 +329,7 @@ public void getWeComAttendanceListOfNight(String attendDate, List attUser) throws Exception { try { // 获取企业微信Token wxCpService.getAccessToken(); wxCpService.getAccessToken(true); // 获取参数日期类 Calendar calAttendDate = Calendar.getInstance(); @@ -1062,7 +1062,7 @@ if (userWeComIdList.size() > 0) { try { // 获取企业微信Token wxCpService.getAccessToken(); wxCpService.getAccessToken(true); // 编辑消息 WxCpMessage wxCpMessage = new WxCpMessage(); @@ -1217,7 +1217,7 @@ try { // 获取企业微信Token wxCpService.getAccessToken(); wxCpService.getAccessToken(true); // 查询现有子表信息 WxCpSheetQueryRequest sheetQueryRequest = new WxCpSheetQueryRequest(); @@ -1501,7 +1501,7 @@ try { // 获取企业微信Token wxCpService.getAccessToken(); wxCpService.getAccessToken(true); // 查询现有子表信息 WxCpSheetQueryRequest sheetQueryRequest = new WxCpSheetQueryRequest();