71 lines
1.9 KiB
YAML
71 lines
1.9 KiB
YAML
server:
|
|
port: 8000
|
|
spring:
|
|
datasource:
|
|
druid:
|
|
#MySQL
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://127.0.0.1:3306/share_platform?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true
|
|
username: root
|
|
password: 123456
|
|
initial-size: 10
|
|
max-active: 100
|
|
min-idle: 10
|
|
max-wait: 3000
|
|
pool-prepared-statements: true
|
|
max-pool-prepared-statement-per-connection-size: 20
|
|
time-between-eviction-runs-millis: 60000
|
|
min-evictable-idle-time-millis: 300000
|
|
#Oracle需要打开注释
|
|
validation-query: SELECT 1
|
|
test-while-idle: true
|
|
test-on-borrow: false
|
|
test-on-return: false
|
|
stat-view-servlet:
|
|
enabled: true
|
|
url-pattern: /druid/*
|
|
#login-username: admin
|
|
#login-password: admin
|
|
filter:
|
|
stat:
|
|
log-slow-sql: true
|
|
slow-sql-millis: 1000
|
|
merge-sql: false
|
|
wall:
|
|
config:
|
|
multi-statement-allow: true
|
|
flyway:
|
|
enabled: false
|
|
validate-on-migrate: false
|
|
#上传的静态资源配置
|
|
resource:
|
|
root_url: 15.2.21.238
|
|
pic-host: http://${resource.root_url}:${server.port}${server.servlet.context-path}
|
|
path: /data/services/nengli/files/
|
|
devModelFilePath: /data/services/nengli/files/devModelFile
|
|
# 大数据部门相关配置
|
|
big_date:
|
|
name: 青岛市大数据发展管理局
|
|
assignee_role_name: 部门审批人
|
|
|
|
hisense:
|
|
gateway:
|
|
# url: http://15.72.184.7:8080
|
|
url: http://devtest-security-app.hismarttv.com:8080
|
|
logging:
|
|
level:
|
|
org:
|
|
activiti:
|
|
engine:
|
|
impl:
|
|
persistence:
|
|
entity: debug
|
|
|
|
qdyjj:
|
|
ipAndPort: 15.2.21.238:9015
|
|
mybatis-plus:
|
|
configuration:
|
|
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
sso:
|
|
mode: cas # 取值 yawei,cas,不填时为禁用sso |