84 lines
2.0 KiB
YAML
84 lines
2.0 KiB
YAML
server:
|
|
port: 5477
|
|
|
|
# DataSource Config
|
|
spring:
|
|
application:
|
|
name: caseData
|
|
datasource:
|
|
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
|
|
url: jdbc:p6spy:mysql://172.27.16.10:3306/case?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8
|
|
username: root
|
|
password: sKptsVOiTf6m3lt_
|
|
data:
|
|
redis:
|
|
host: '139.155.127.177'
|
|
port: 30002
|
|
password: gdxz2022&dj.
|
|
database: 9
|
|
timeout: 3000
|
|
jackson:
|
|
time-zone: Asia/Shanghai
|
|
default-property-inclusion: always
|
|
redis:
|
|
dev:
|
|
host: '139.155.127.177'
|
|
port: 30002
|
|
password: gdxz2022&dj.
|
|
database: 9
|
|
prod:
|
|
host: '139.155.127.177'
|
|
port: 30002
|
|
password: gdxz2022&dj.
|
|
database: 10
|
|
|
|
|
|
# MyBatis-Plus 配置
|
|
mybatis-plus:
|
|
configuration:
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 开启 SQL 日志
|
|
map-underscore-to-camel-case: true
|
|
mapper-locations: "classpath:mapper/*.xml"
|
|
|
|
# oss配置
|
|
oss:
|
|
access-key: LTAI5tKmFrVCghcxX7yHyGhm
|
|
access-key-secret: q1aiIZCJJuf92YbKk2cSXnPES4zx26
|
|
bucket: caseplatform
|
|
endpoint: oss-cn-beijing.aliyuncs.com
|
|
custom-domain-name: https://caseplatform.oss-cn-beijing.aliyuncs.com
|
|
|
|
# [阿里大鱼短信]
|
|
dysms:
|
|
access-key: LTAI4GGygjsKhyBwvvC3CghV
|
|
access-secret: rcx7lO9kQxG10m8NqNPEfEtT9IS8EI
|
|
|
|
# jwt配置
|
|
jwt:
|
|
sign-key: 123456899 # 私钥
|
|
ttl: 720 # 过期时间 小时
|
|
algo: HS256 # 加密方式
|
|
|
|
# 日志
|
|
logging:
|
|
level:
|
|
root: info # 全局日志级别
|
|
file:
|
|
name: logs/app.log # 自定义日志文件路径
|
|
pattern:
|
|
file: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n"
|
|
|
|
# 微信
|
|
wechat:
|
|
miniapp:
|
|
appid: wx152ad667d5075f27
|
|
secret: 0b86e725d8f372fa05dad95a91d41c72
|
|
|
|
# [app]
|
|
app:
|
|
apiUrl: https://wx.igandan.com
|
|
secretKey: nmBCF@hEK6eN&h03dYUin@AU3%bMf%$O
|
|
imagePrefix: https://doc.igandan.com/app
|
|
platform: case-storge
|
|
platformPointAccount: GDXZadmin01
|
|
access-token: XUUHml5iQ9mlFsa8QqOwyBrLI2nGGGxJ |