diff --git a/llm_readme.txt b/llm_readme.txt index 7efd2aa..9474372 100644 --- a/llm_readme.txt +++ b/llm_readme.txt @@ -5,12 +5,12 @@ 一、项目概况 ────────────────────────────────────────────────────────────────────────────── 名称: LionWebsite -技术栈: Spring Boot 3.3.2, Java 21, Maven, SQLite, MyBatis, Netty +技术栈: Spring Boot 4.1.1, Java 21 字节码(生产 JDK 25), Maven, SQLite, MyBatis 4, Netty 4.2 定位: 个人/私有 Web 应用,兼具 E-Hentai 画廊下载管理、个人文件服务、 代理订阅管理等功能。 运行端口: 8888 数据库: 双 SQLite 数据库 — LionWebsite.db (主库) + cache.db (缓存库) -构建目标: 支持 GraalVM Native Image (AOT 编译) +构建目标: 当前以 JVM/JAR 运行;保留 GraalVM Native Image 配置但尚未在 JDK 25 完成原生验证 二、项目结构 ────────────────────────────────────────────────────────────────────────────── @@ -155,9 +155,9 @@ src/main/java/com/lion/lionwebsite/ 六、依赖 ────────────────────────────────────────────────────────────────────────────── -spring-boot-starter-web, spring-boot-starter-websocket, mybatis-spring-boot-starter +spring-boot-starter-webmvc, spring-boot-starter-websocket, mybatis-spring-boot-starter 4.1 jsoup (HTML 解析), hutool-all (工具集), sqlite-jdbc (数据库) -httpclient + httpmime (HTTP 请求), commons-compress (TAR 打包) +httpclient5 (HTTP 请求), commons-compress (TAR 打包) commons-io, commons-lang3, netty-all (TCP 通信) java-telegram-bot-api (Telegram Bot), graalvm native-maven-plugin (AOT) diff --git a/src/main/java/com/lion/lionwebsite/Configuration/InterceptorConfiguration.java b/src/main/java/com/lion/lionwebsite/Configuration/InterceptorConfiguration.java index 47da05c..19c71ce 100644 --- a/src/main/java/com/lion/lionwebsite/Configuration/InterceptorConfiguration.java +++ b/src/main/java/com/lion/lionwebsite/Configuration/InterceptorConfiguration.java @@ -18,7 +18,7 @@ public class InterceptorConfiguration implements WebMvcConfigurer { @Override public void addInterceptors(InterceptorRegistry registry) { registry.addInterceptor(getPersonalInterceptor()).addPathPatterns("/personal/**", "/remote/**"); - registry.addInterceptor(taskHandlerInterceptor).addPathPatterns("/GalleryManage", "/validate"); + registry.addInterceptor(taskHandlerInterceptor).addPathPatterns("/GalleryManage", "/GalleryManage/**", "/validate"); registry.addInterceptor(getHumanInterceptor()).addPathPatterns("/", "/mobile"); }