报表基础模块:1、新增模板加载空白xml;2、移除模板type改为后端定义;

This commit is contained in:
gaoqr
2024-08-23 18:51:01 +08:00
parent 4c56f4dbac
commit 5f252426cc
5 changed files with 32 additions and 19 deletions
@@ -1,6 +1,5 @@
package com.cf.imes.framework.security.core.util;
import cn.hutool.core.util.StrUtil;
import com.cf.imes.framework.common.exception.ServiceException;
import com.cf.imes.framework.common.exception.enums.GlobalErrorCodeConstants;
import com.cf.imes.framework.security.core.LoginUser;
@@ -44,7 +43,7 @@ public class SecurityFrameworkUtils {
String headerName, String parameterName) {
// 1. 获得 Token。优先级:Header > Parameter
String token = request.getHeader(headerName);
if (StrUtil.isEmpty(token)) {
if (StringUtils.isEmpty(token)) {
token = request.getParameter(parameterName);
}
if (!StringUtils.hasText(token)) {