添加简历识别模块

This commit is contained in:
sh
2026-07-22 19:04:10 +08:00
parent f331e4da8f
commit b0ea553370
5 changed files with 108 additions and 3 deletions

View File

@@ -69,6 +69,14 @@ public class EncryptConstants {
"/app/appskill/list",
"/cms/appskill/list",
"/cms/employeeConfirm/list",
"/app/user/createResume"
"/app/user/createResume",
"/app/user/resume/recognition"
);
/**
* 请求需要排除的接口
*/
public static final List<String> EXCLUDE_PATTERNS = Arrays.asList(
"/app/user/resume/recognition"
);
}

View File

@@ -144,6 +144,12 @@ public class RequestWrapperFilter implements Filter {
}
String requestURI = request.getRequestURI();
// 排除指定接口
for (String exclude : EncryptConstants.EXCLUDE_PATTERNS) {
if (pathMatcher.match(exclude, requestURI)) {
return false;
}
}
// 检查URL是否匹配需要加解密的模式
for (String pattern : EncryptConstants.URL_PATTERNS) {