Commit 5981f91d authored by 林洋洋's avatar 林洋洋

注释验证码

parent 91632791
...@@ -16,9 +16,5 @@ spring: ...@@ -16,9 +16,5 @@ spring:
import: import:
- nacos:application-@profiles.active@.yml - nacos:application-@profiles.active@.yml
- nacos:${spring.application.name}-@profiles.active@.yml - nacos:${spring.application.name}-@profiles.active@.yml
datasource: # 示例数据源配置,注意修改也可配置至 nacos
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: root
password: root
url: jdbc:mysql://127.0.0.1:3306/pig?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
...@@ -77,7 +77,7 @@ public class ValidateCodeFilter extends OncePerRequestFilter { ...@@ -77,7 +77,7 @@ public class ValidateCodeFilter extends OncePerRequestFilter {
// 校验验证码 1. 客户端开启验证码 2. 短信模式 // 校验验证码 1. 客户端开启验证码 2. 短信模式
try { try {
checkCode(); // checkCode();
filterChain.doFilter(request, response); filterChain.doFilter(request, response);
} }
catch (ValidateCodeException validateCodeException) { catch (ValidateCodeException validateCodeException) {
......
...@@ -33,17 +33,6 @@ ...@@ -33,17 +33,6 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spring-ai.version>1.1.0-SNAPSHOT</spring-ai.version> <spring-ai.version>1.1.0-SNAPSHOT</spring-ai.version>
</properties> </properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-bom</artifactId>
<version>${spring-ai.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies> <dependencies>
<!--upms api、model 模块--> <!--upms api、model 模块-->
<dependency> <dependency>
...@@ -110,59 +99,7 @@ ...@@ -110,59 +99,7 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-undertow</artifactId> <artifactId>spring-boot-starter-undertow</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-starter-model-openai</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework.ai</groupId>-->
<!-- <artifactId>spring-ai-starter-model-chat-memory-repository-jdbc</artifactId>-->
<!-- </dependency>-->
<!-- Spring AI MCP starter依赖 -->
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-starter-mcp-client-webflux</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-starter-vector-store-pgvector</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-advisors-vector-store</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-oauth2-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-tika-document-reader</artifactId>
</dependency>
</dependencies> </dependencies>
<repositories>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
<repository>
<name>Central Portal Snapshots</name>
<id>central-portal-snapshots</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<profiles> <profiles>
<profile> <profile>
<id>boot</id> <id>boot</id>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment