1
This commit is contained in:
@@ -0,0 +1,109 @@
|
||||
server:
|
||||
port: 8086
|
||||
|
||||
spring:
|
||||
mvc:
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 50MB # 单个文件大小
|
||||
max-request-size: 50MB
|
||||
jackson:
|
||||
time-zone: GMT+8
|
||||
date-format: yyyy-MM-dd HH:mm:ss
|
||||
redis:
|
||||
host: 127.0.0.1
|
||||
port: 6379
|
||||
database: 0
|
||||
password: 123
|
||||
rabbitmq:
|
||||
host: 127.0.0.1
|
||||
port: 5672
|
||||
username: guest
|
||||
password: guest
|
||||
|
||||
# publisher-confirms: true
|
||||
publisher-returns: true
|
||||
template:
|
||||
mandatory: true
|
||||
data:
|
||||
redis:
|
||||
repositories:
|
||||
enabled: false
|
||||
# http:
|
||||
# encoding:
|
||||
# force: true
|
||||
# charset: utf-8
|
||||
# enabled: true
|
||||
|
||||
datasource:
|
||||
url: jdbc:mysql://localhost:3306/classicalchinese?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: 123
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
min-idle: 30
|
||||
max-active: 30
|
||||
hikari:
|
||||
minimum-idle: 20 #最小连接数
|
||||
maximum-pool-size: 500 #池中最大连接数
|
||||
connection-timeout: 600000 #连接超时时间
|
||||
idle-timeout: 120000 # 空闲等待时间 ms
|
||||
leakDetectionThreshold: 300000 #用来设置连接被占用的超时时间,单位为毫秒,默认为0,表示禁用连接泄露检测。
|
||||
auto-commit: true #
|
||||
max-lifetime: 1800000 # 30000--30分钟
|
||||
validation-timeout: 3000
|
||||
connection-test-query: SELECT 1 FROM DUAL
|
||||
connection-init-sql: SET NAMES utf8mb4
|
||||
#jpa
|
||||
jpa:
|
||||
database: MySQL
|
||||
show-sql: true
|
||||
hibernate:
|
||||
# 生产环境设置成 none,避免程序运行时自动更新数据库结构
|
||||
ddl-auto: update
|
||||
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
|
||||
properties:
|
||||
hibernate:
|
||||
dialect: org.hibernate.dialect.MySQL5InnoDBDialect
|
||||
open-in-view: true
|
||||
|
||||
|
||||
bsch:
|
||||
sso:
|
||||
# service-url-prefix: http://sso.bestsch.com
|
||||
server-url-prefix: http://sso.bestsch.com
|
||||
client-host-url: http://localhost:8086
|
||||
allow-headers: all
|
||||
allow-origins: all
|
||||
url-pattern: /api/*
|
||||
ignore-pattern: /mobiapi/*|mobiapi2/*|/qywxapi/*
|
||||
mobi-api-pattern: /mobiapi/*
|
||||
open:
|
||||
base-host: http://base.bestsch.com
|
||||
photo_url: http://base.bestsch.com/
|
||||
app-key: 100614
|
||||
app-secret: f03fd6e4f5da4b108127cd74f05ee767
|
||||
schbase-host: http://base.bestsch.com/BschClass
|
||||
zyk-host: http://base.bestsch.com/BschZyk
|
||||
openai:
|
||||
host: https://one2.app011.cn:8443/v1/completions
|
||||
api-key: sk-PFVGDLriMVkt01Id4e094470060d41D281D42580C00f9380
|
||||
#host: https://api.deepseek.com/chat/completions
|
||||
#api-key: sk-ce9491557e6247378727e0971359f75e
|
||||
max-tokens: 5000
|
||||
temperature: 0.5
|
||||
oahost: https://oa2.schsoft.cn
|
||||
|
||||
|
||||
baidu:
|
||||
api:
|
||||
app_id: 33374298
|
||||
app_key: UiZ4yP5jaUABm3QsjB824oqM
|
||||
app_secret: j5lX1xEhzAqLCQuZ2obR3HMtQYL7144s
|
||||
|
||||
FILE_PATH: D://工作区/JAVA/bsch/
|
||||
|
||||
FILE_WEB_PATH: http://localhost:8086/upload/
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user