BAOLH
2025-08-01 048fca74215ea18c5e771d6e0845691eaedd882c
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();