8月10 版本修改

This commit is contained in:
chenxing
2026-08-10 18:53:04 +08:00
parent 2190e7d58f
commit aa4ae32ac5
9 changed files with 267 additions and 85 deletions
+61 -68
View File
@@ -1,80 +1,73 @@
server:
port: 8060
port: 8060
spring:
mvc:
date-format: yyyy-MM-dd HH:mm:ss
servlet:
multipart:
max-file-size: 50MB # 单个文件大小
max-request-size: 200MB # 单次请求总大小(多文件/表单整体上限,避免单文件没超但整体被拒)
jackson:
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
redis:
host: 127.0.0.1
port: 6379
database: 0
password: 123456
# 连接/命令超时:让后台探活(不可达时)快速失败,避免阻塞定时器线程;不影响正常请求
timeout: 500ms
data:
mvc:
date-format: yyyy-MM-dd HH:mm:ss
servlet:
multipart:
max-file-size: 50MB # 单个文件大小
max-request-size: 200MB # 单次请求总大小(多文件/表单整体上限,避免单文件没超但整体被拒)
jackson:
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
redis:
repositories:
enabled: false
http:
encoding:
force: true
charset: utf-8
enabled: true
host: 127.0.0.1
port: 6379
database: 0
password: 123456
# 连接/命令超时:让后台探活(不可达时)快速失败,避免阻塞定时器线程;不影响正常请求
timeout: 500ms
data:
redis:
repositories:
enabled: false
http:
encoding:
force: true
charset: utf-8
enabled: true
datasource:
url: jdbc:mysql://localhost:3306/bsch_userbase?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
username: root
password: 123456
driver-class-name: com.mysql.cj.jdbc.Driver
min-idle: 30
max-active: 30
#jpa
jpa:
database: MySQL
show-sql: true
hibernate:
# 生产环境设置成 none,避免程序运行时自动更新数据库结构
ddl-auto: update
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
properties:
hibernate.order_by.default_null_ordering: last
hibernate:
dialect: org.hibernate.dialect.MySQL5InnoDBDialect
open-in-view: true
#本地关闭rabbit
rabbitmq:
listener:
direct:
auto-startup: false
simple:
auto-startup: false
datasource:
url: jdbc:mysql://localhost:3306/bsch_userbase?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
username: root
password: 123456
driver-class-name: com.mysql.cj.jdbc.Driver
min-idle: 30
max-active: 30
#jpa
jpa:
database: MySQL
show-sql: true
hibernate:
# 生产环境设置成 none,避免程序运行时自动更新数据库结构
ddl-auto: update
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
properties:
hibernate.order_by.default_null_ordering: last
hibernate:
dialect: org.hibernate.dialect.MySQL5InnoDBDialect
open-in-view: true
#本地关闭rabbit
rabbitmq:
listener:
direct:
auto-startup: false
simple:
auto-startup: false
# 单点登录 / 应用间签名鉴权(基础平台 yh-auth / yh-app-auth)
yh:
sso:
server-url-prefix: http://sso.yunhaixingtong.com/cas/
client-host-url: http://localhost:8060
allow-headers: all
allow-origins: all
url-pattern: /api/*
mobi-api-pattern: /mobiapi/*
app-auth:
enabled: true
# 本应用自身身份(客户端签名用,若 UserBase 需调用其他带签名服务)
app-key: 100616
app-secret: 1febb9502d2744b6a235d3e4cfde4a2d
# 受信应用(服务端验签用):appKey -> appSecret
trusted-apps:
100616: 1febb9502d2744b6a235d3e4cfde4a2d
sso:
server-url-prefix: http://sso.yunhaixingtong.com/cas/
client-host-url: http://localhost:8060
allow-headers: all
allow-origins: all
url-pattern: /api/*
mobi-api-pattern: /mobiapi/*
app-auth:
enabled: true
ADMIN_TAG_ID: 290