diff --git a/.gitignore b/.gitignore
index 0f47a07..cec8c00 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,6 +15,8 @@ target/
*.iml
*.ipr
*.iws
+.agents/
+logs/
# ==========================================
# 3. 项目特定工具目录 (根据你的文件列表)
diff --git a/pom.xml b/pom.xml
index 9332c6b..a81d3b5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,7 +1,6 @@
4.0.0
@@ -78,15 +77,21 @@
com.baomidou
- mybatis-plus-boot-starter
- 3.5.9
+ mybatis-plus-spring-boot3-starter
+ 3.5.10
com.baomidou
mybatis-plus-jsqlparser
- 3.5.9
+ 3.5.10
+
+
+
+ org.springdoc
+ springdoc-openapi-starter-webmvc-ui
+ 2.5.0
@@ -169,7 +174,9 @@
copy-dependencies
package
- copy-dependencies
+
+ copy-dependencies
+
${project.build.directory}/libs
runtime
@@ -186,7 +193,9 @@
create-distribution
package
- single
+
+ single
+
src/main/assembly/distribution.xml
@@ -201,4 +210,4 @@
-
\ No newline at end of file
+
diff --git a/src/main/java/com/label/LabelBackendApplication.java b/src/main/java/com/label/LabelBackendApplication.java
index 856844e..056e5bc 100644
--- a/src/main/java/com/label/LabelBackendApplication.java
+++ b/src/main/java/com/label/LabelBackendApplication.java
@@ -1,3 +1,4 @@
+
package com.label;
import org.springframework.boot.SpringApplication;
@@ -11,11 +12,13 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
* Spring Boot 3. 的 jakarta.servlet 命名空间冲突。 认证/ 授权逻辑改由
* TokenFilter(OncePerRequestFilter)+ ShiroConfig 手动装配。
*/
-@SpringBootApplication(excludeName = {
- "org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration",
- "org.apache.shiro.spring.config.web.autoconfigure.ShiroWebFilterConfiguration",
- "org.apache.shiro.spring.config.web.autoconfigure.ShiroWebMvcAutoConfiguration" })
+// (excludeName = {
+
+// "org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration",
+// "org.apache.shiro.spring.config.web.autoconfigure.ShiroWebFilterConfiguration",
+// "org.apache.shiro.spring.config.web.autoconfigure.ShiroWebMvcAutoConfiguration" })
+@SpringBootApplication
public class LabelBackendApplication {
public static void main(String[] args) {
diff --git a/src/main/java/com/label/common/ai/AiServiceClient.java b/src/main/java/com/label/common/ai/AiServiceClient.java
index 93da8f9..56e78d2 100644
--- a/src/main/java/com/label/common/ai/AiServiceClient.java
+++ b/src/main/java/com/label/common/ai/AiServiceClient.java
@@ -23,9 +23,7 @@ public class AiServiceClient {
@PostConstruct
public void init() {
- restClient = RestClient.builder()
- .baseUrl(baseUrl)
- .build();
+ restClient = RestClient.builder().baseUrl(baseUrl).build();
}
// DTO classes
@@ -42,7 +40,7 @@ public class AiServiceClient {
@Data
public static class ExtractionResponse {
- private List