jdk 17
This commit is contained in:
47
portal/backend/portal/.gitignore
vendored
Normal file
47
portal/backend/portal/.gitignore
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
######################################################################
|
||||
# Build Tools
|
||||
|
||||
.gradle
|
||||
/build/
|
||||
!gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
target/
|
||||
!.mvn/wrapper/maven-wrapper.jar
|
||||
|
||||
######################################################################
|
||||
# IDE
|
||||
|
||||
### STS ###
|
||||
.apt_generated
|
||||
.classpath
|
||||
.factorypath
|
||||
.project
|
||||
.settings
|
||||
.springBeans
|
||||
|
||||
### IntelliJ IDEA ###
|
||||
.idea
|
||||
*.iws
|
||||
*.iml
|
||||
*.ipr
|
||||
|
||||
### JRebel ###
|
||||
rebel.xml
|
||||
|
||||
### NetBeans ###
|
||||
nbproject/private/
|
||||
build/*
|
||||
nbbuild/
|
||||
dist/
|
||||
nbdist/
|
||||
.nb-gradle/
|
||||
|
||||
######################################################################
|
||||
# Others
|
||||
*.log
|
||||
*.xml.versionsBackup
|
||||
*.swp
|
||||
|
||||
!*/build/*.java
|
||||
!*/build/*.html
|
||||
!*/build/*.xml
|
||||
@@ -1,9 +1,12 @@
|
||||
# 数据源配置
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://localhost:3306/portal?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
||||
username: root
|
||||
password: Zhang!@#
|
||||
# url: jdbc:mysql://localhost:3306/portal?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
||||
# username: root
|
||||
# password: Zhang!@#
|
||||
# url: jdbc:mysql://106.14.217.120:3306/platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
|
||||
# username: lingniu
|
||||
# password: Lingniu2026!
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
driverClassName: com.mysql.cj.jdbc.Driver
|
||||
druid:
|
||||
@@ -12,6 +15,9 @@ spring:
|
||||
# url: jdbc:mysql://localhost:3306/portal?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
||||
# username: root
|
||||
# password: Zhang!@#
|
||||
url: jdbc:mysql://106.14.217.120:3306/platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
|
||||
username: lingniu
|
||||
password: Lingniu2026!
|
||||
# 初始连接数
|
||||
initialSize: 5
|
||||
# 最小连接池数量
|
||||
@@ -59,7 +65,7 @@ spring:
|
||||
oauth2:
|
||||
resourceserver:
|
||||
jwt:
|
||||
jwk-set-uri: http://localhost:8000/oauth2/jwks
|
||||
jwk-set-uri: http://localhost:8082/oauth2/jwks
|
||||
client:
|
||||
registration:
|
||||
portal:
|
||||
@@ -82,4 +88,4 @@ spring:
|
||||
token-uri: http://localhost:8000/oauth2/token
|
||||
user-info-uri: http://localhost:8000/userinfo
|
||||
jwk-set-uri: http://localhost:8000/oauth2/jwks
|
||||
user-name-attribute: sub
|
||||
user-name-attribute: sub
|
||||
@@ -1,7 +1,7 @@
|
||||
# 数据源配置
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://localhost:3306/platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
|
||||
url: jdbc:mysql://106.14.217.120:3306/platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
|
||||
username: lingniu
|
||||
password: Lingniu2026!
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
@@ -59,7 +59,7 @@ spring:
|
||||
oauth2:
|
||||
resourceserver:
|
||||
jwt:
|
||||
jwk-set-uri: http://localhost:8000/oauth2/jwks
|
||||
jwk-set-uri: http://127.0.0.1:8082/oauth2/jwks
|
||||
client:
|
||||
registration:
|
||||
portal:
|
||||
@@ -77,9 +77,9 @@ spring:
|
||||
|
||||
provider:
|
||||
idp:
|
||||
# issuer-uri: http://localhost:8000
|
||||
issuer-uri: http://127.0.0.1:8082
|
||||
authorization-uri: http://106.14.217.120/idp-ui/sso
|
||||
token-uri: http://localhost:8082/oauth2/token
|
||||
user-info-uri: http://localhost:8082/userinfo
|
||||
jwk-set-uri: http://localhost:8082/oauth2/jwks
|
||||
token-uri: http://127.0.0.1:8082/oauth2/token
|
||||
user-info-uri: http://127.0.0.1:8082/userinfo
|
||||
jwk-set-uri: http://127.0.0.1:8082/oauth2/jwks
|
||||
user-name-attribute: sub
|
||||
@@ -34,8 +34,7 @@ server:
|
||||
# 日志配置
|
||||
logging:
|
||||
level:
|
||||
org.lingniu.portal: debug
|
||||
org.springframework: warn
|
||||
root: debug
|
||||
|
||||
# 用户配置
|
||||
user:
|
||||
@@ -52,7 +51,7 @@ spring:
|
||||
# 国际化资源文件路径
|
||||
basename: i18n/messages
|
||||
profiles:
|
||||
active: local
|
||||
active: test
|
||||
# 文件上传
|
||||
servlet:
|
||||
multipart:
|
||||
@@ -69,7 +68,7 @@ spring:
|
||||
# redis 配置
|
||||
redis:
|
||||
# 地址
|
||||
host: localhost
|
||||
host: 127.0.0.1
|
||||
# 端口,默认为6379
|
||||
port: 6379
|
||||
# 数据库索引
|
||||
@@ -128,7 +127,7 @@ referer:
|
||||
# 防盗链开关
|
||||
enabled: false
|
||||
# 允许的域名列表
|
||||
allowed-domains: localhost,127.0.0.1
|
||||
allowed-domains: localhost,127.0.0.1,106.14.217.120
|
||||
|
||||
# 防止XSS攻击
|
||||
xss:
|
||||
@@ -76,7 +76,7 @@
|
||||
<!-- Spring日志级别控制 -->
|
||||
<logger name="org.springframework" level="warn" />
|
||||
|
||||
<root level="info">
|
||||
<root level="debug">
|
||||
<appender-ref ref="console" />
|
||||
</root>
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
# 数据源配置
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://localhost:3306/portal?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
||||
username: root
|
||||
password: Zhang!@#
|
||||
# url: jdbc:mysql://localhost:3306/portal?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
||||
# username: root
|
||||
# password: Zhang!@#
|
||||
# url: jdbc:mysql://106.14.217.120:3306/platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
|
||||
# username: lingniu
|
||||
# password: Lingniu2026!
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
driverClassName: com.mysql.cj.jdbc.Driver
|
||||
druid:
|
||||
@@ -12,6 +15,9 @@ spring:
|
||||
# url: jdbc:mysql://localhost:3306/portal?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
||||
# username: root
|
||||
# password: Zhang!@#
|
||||
url: jdbc:mysql://106.14.217.120:3306/platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
|
||||
username: lingniu
|
||||
password: Lingniu2026!
|
||||
# 初始连接数
|
||||
initialSize: 5
|
||||
# 最小连接池数量
|
||||
@@ -59,7 +65,7 @@ spring:
|
||||
oauth2:
|
||||
resourceserver:
|
||||
jwt:
|
||||
jwk-set-uri: http://localhost:8000/oauth2/jwks
|
||||
jwk-set-uri: http://localhost:8082/oauth2/jwks
|
||||
client:
|
||||
registration:
|
||||
portal:
|
||||
@@ -82,4 +88,4 @@ spring:
|
||||
token-uri: http://localhost:8000/oauth2/token
|
||||
user-info-uri: http://localhost:8000/userinfo
|
||||
jwk-set-uri: http://localhost:8000/oauth2/jwks
|
||||
user-name-attribute: sub
|
||||
user-name-attribute: sub
|
||||
@@ -1,7 +1,7 @@
|
||||
# 数据源配置
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://localhost:3306/platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
|
||||
url: jdbc:mysql://106.14.217.120:3306/platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例
|
||||
username: lingniu
|
||||
password: Lingniu2026!
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
@@ -59,7 +59,7 @@ spring:
|
||||
oauth2:
|
||||
resourceserver:
|
||||
jwt:
|
||||
jwk-set-uri: http://localhost:8000/oauth2/jwks
|
||||
jwk-set-uri: http://127.0.0.1:8082/oauth2/jwks
|
||||
client:
|
||||
registration:
|
||||
portal:
|
||||
@@ -77,9 +77,9 @@ spring:
|
||||
|
||||
provider:
|
||||
idp:
|
||||
# issuer-uri: http://localhost:8000
|
||||
issuer-uri: http://127.0.0.1:8082
|
||||
authorization-uri: http://106.14.217.120/idp-ui/sso
|
||||
token-uri: http://localhost:8082/oauth2/token
|
||||
user-info-uri: http://localhost:8082/userinfo
|
||||
jwk-set-uri: http://localhost:8082/oauth2/jwks
|
||||
token-uri: http://127.0.0.1:8082/oauth2/token
|
||||
user-info-uri: http://127.0.0.1:8082/userinfo
|
||||
jwk-set-uri: http://127.0.0.1:8082/oauth2/jwks
|
||||
user-name-attribute: sub
|
||||
@@ -34,8 +34,7 @@ server:
|
||||
# 日志配置
|
||||
logging:
|
||||
level:
|
||||
org.lingniu.portal: debug
|
||||
org.springframework: warn
|
||||
root: debug
|
||||
|
||||
# 用户配置
|
||||
user:
|
||||
@@ -52,7 +51,7 @@ spring:
|
||||
# 国际化资源文件路径
|
||||
basename: i18n/messages
|
||||
profiles:
|
||||
active: local
|
||||
active: test
|
||||
# 文件上传
|
||||
servlet:
|
||||
multipart:
|
||||
@@ -69,7 +68,7 @@ spring:
|
||||
# redis 配置
|
||||
redis:
|
||||
# 地址
|
||||
host: localhost
|
||||
host: 127.0.0.1
|
||||
# 端口,默认为6379
|
||||
port: 6379
|
||||
# 数据库索引
|
||||
@@ -76,7 +76,7 @@
|
||||
<!-- Spring日志级别控制 -->
|
||||
<logger name="org.springframework" level="warn" />
|
||||
|
||||
<root level="info">
|
||||
<root level="debug">
|
||||
<appender-ref ref="console" />
|
||||
</root>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#Generated by Maven
|
||||
#Tue Feb 10 15:14:17 CST 2026
|
||||
#Tue Feb 10 18:48:41 CST 2026
|
||||
groupId=org.lingniu
|
||||
artifactId=portal-admin
|
||||
version=1.0.0
|
||||
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user