This commit is contained in:
quantulr
2023-11-01 17:22:23 +08:00
parent 373b3d9dff
commit edf18e13eb
278 changed files with 1823 additions and 282 deletions

View File

@ -1,6 +1,6 @@
# 项目配置
like:
upload-directory: /www/uploads/likeadmin-java/ # 上传目录
upload-directory: /www/uploads/caszl/ # 上传目录
# 验证码配置
captcha:
# 是否开启验证码
@ -25,7 +25,7 @@ server:
# 框架配置
spring:
profiles:
active: dev
# active: dev
mvc:
static-path-pattern: /api/static/**
throw-exception-if-no-handler-found: true
@ -33,11 +33,11 @@ spring:
matching-strategy: ant_path_matcher
# 数据源配置
datasource:
url: jdbc:mysql://localhost:3306/likeadmin?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
url: jdbc:mysql://localhost:3306/caszl?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
type: com.zaxxer.hikari.HikariDataSource # 数据源类型
driver-class-name: com.mysql.jdbc.Driver # MySql的驱动
username: root # 数据库账号
password: root # 数据库密码
password: 23vjssImwr. # 数据库密码
hikari:
connection-timeout: 30000 # 等待连接分配连接的最大时长(毫秒),超出时长还没可用连接则发送SQLException,默认30秒
minimum-idle: 5 # 最小连接数