Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ask_data_ai_admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linyangyang
ask_data_ai_admin
Commits
5981f91d
Commit
5981f91d
authored
Jul 08, 2025
by
林洋洋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注释验证码
parent
91632791
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
70 deletions
+3
-70
application.yml
pig-ask/pig-ask-biz/src/main/resources/application.yml
+2
-6
ValidateCodeFilter.java
...pig4cloud/pig/auth/support/filter/ValidateCodeFilter.java
+1
-1
pom.xml
pig-upms/pig-upms-biz/pom.xml
+0
-63
No files found.
pig-ask/pig-ask-biz/src/main/resources/application.yml
View file @
5981f91d
...
@@ -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
pig-auth/src/main/java/com/pig4cloud/pig/auth/support/filter/ValidateCodeFilter.java
View file @
5981f91d
...
@@ -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
)
{
...
...
pig-upms/pig-upms-biz/pom.xml
View file @
5981f91d
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment