|
|
|
|
server:
|
|
|
|
|
port: 8080
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
datasource:
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
url: jdbc:mysql://121.41.171.43:3306/lingnuo?serverTimezone=Asia/Shanghai
|
|
|
|
|
username: root
|
|
|
|
|
password: zhang123.
|
|
|
|
|
hikari:
|
|
|
|
|
max-lifetime: 500000
|
|
|
|
|
jackson:
|
|
|
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
|
|
|
time-zone: Asia/Shanghai
|
|
|
|
|
resources:
|
|
|
|
|
static-locations: classpath:templates/,classpath:static/
|
|
|
|
|
mvc:
|
|
|
|
|
view:
|
|
|
|
|
prefix: /
|
|
|
|
|
suffix: .html
|
|
|
|
|
servlet:
|
|
|
|
|
multipart:
|
|
|
|
|
max-file-size: 10MB
|
|
|
|
|
max-request-size: 100MB
|
|
|
|
|
mail:
|
|
|
|
|
host: smtp.exmail.qq.com
|
|
|
|
|
username: center-ona@linac.net
|
|
|
|
|
password: 8[B@cqcGJpLA4)6
|
|
|
|
|
protocol: smtp
|
|
|
|
|
default-encoding: UTF-8
|
|
|
|
|
port: 465
|
|
|
|
|
properties:
|
|
|
|
|
mail:
|
|
|
|
|
smtp:
|
|
|
|
|
ssl:
|
|
|
|
|
enable: true
|
|
|
|
|
socketFactory:
|
|
|
|
|
port: 465
|
|
|
|
|
class: javax.net.ssl.SSLSocketFactory
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mailAddr: center-ona@linac.net
|
|
|
|
|
|
|
|
|
|
pagehelper:
|
|
|
|
|
reasonable: false # 禁用合理化时,如果pageNum<1或pageNum>pages会返回空数据
|
|
|
|
|
support-methods-arguments: true
|
|
|
|
|
params: count=countSql
|
|
|
|
|
row-bounds-with-count: true
|
|
|
|
|
helper-dialect: mysql
|
|
|
|
|
|
|
|
|
|
mybatis-plus:
|
|
|
|
|
configuration:
|
|
|
|
|
map-underscore-to-camel-case: true
|
|
|
|
|
auto-mapping-behavior: full
|
|
|
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
|
mapper-locations: classpath*:mapper/**/*Mapper.xml
|
|
|
|
|
global-config:
|
|
|
|
|
# 逻辑删除配置
|
|
|
|
|
db-config:
|
|
|
|
|
# 删除前
|
|
|
|
|
logic-not-delete-value: 1
|
|
|
|
|
# 删除后
|
|
|
|
|
logic-delete-value: 0
|
|
|
|
|
|
|
|
|
|
aliyun:
|
|
|
|
|
sms:
|
|
|
|
|
accessKeyId: LTAI5tRBUQJ2x1H1cgYcX282
|
|
|
|
|
accessKeySecret: zqvQfEtR7r5lVazmU9CGeHCmEpyZr5
|
|
|
|
|
region: cn-hangzhou
|
|
|
|
|
endpoint: dysmsapi.aliyuncs.com
|
|
|
|
|
signName: 领诺CenteRONA
|
|
|
|
|
templateCode: SMS_255286086
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#springdoc:
|
|
|
|
|
# swagger-ui:
|
|
|
|
|
# # 修改Swagger UI路径
|
|
|
|
|
# path: /swagger-ui.html
|
|
|
|
|
# # 开启Swagger UI界面
|
|
|
|
|
# enabled: true
|
|
|
|
|
# api-docs:
|
|
|
|
|
# # 修改api-docs路径
|
|
|
|
|
# path: /v3/api-docs
|
|
|
|
|
# # 开启api-docs
|
|
|
|
|
# enabled: true
|
|
|
|
|
# # 配置需要生成接口文档的扫描包
|
|
|
|
|
# packages-to-scan: com.zh.project0512.controller
|
|
|
|
|
# # 配置需要生成接口文档的接口路径
|
|
|
|
|
# paths-to-match: /manage/**,/wxApp/**
|
|
|
|
|
|
|
|
|
|
web:
|
|
|
|
|
webUrl: https://www.linac.net
|
|
|
|
|
apiPath: com.zh.lingnuo.controller
|
|
|
|
|
# mac图片地址
|
|
|
|
|
uploadPath: /Users/apple/Pictures
|
|
|
|
|
# 线上图片上传位置
|
|
|
|
|
# uploadPath: /static/sws/upload/
|
|
|
|
|
# 图片压缩尺寸界限(200*1024)
|
|
|
|
|
picSizeLimit: 204800
|
|
|
|
|
# cdn: http://cdn.sws010.com
|
|
|
|
|
|
|
|
|
|
#showSql
|
|
|
|
|
logging:
|
|
|
|
|
level:
|
|
|
|
|
com:
|
|
|
|
|
example:
|
|
|
|
|
mapper: debug
|
|
|
|
|
|