Files
discipline-report/src/main/resources/application-dev.yml
2026-07-08 17:40:26 +08:00

52 lines
1.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

server:
port: 8090
spring:
application:
name: discipline-report
# 数据库
datasource:
url: jdbc:mysql://10.73.199.164:1444/finedb?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
username: bigdata
password: 9sK&7pR2!zT5@mQ8#gX
driver-class-name: com.mysql.cj.jdbc.Driver
# 邮箱配置
mail:
host: smtp.163.com
username: 18817503105@163.com
password: NScs2Ct8YTniyBNP
port: 465
protocol: smtps
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
servlet:
multipart:
max-file-size: 50MB
max-request-size: 50MB
# Mybatis
mybatis:
mapper-locations: classpath:mapper/*.xml
type-aliases-package: com.discipline.report.entity
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# 自定义配置【和CustomConfigProperties字段完全对齐】
custom:
h5-index-url: http://localhost
tip-content: 请如实填写举报信息,我们将严格保密
qr-code-fixed-url: http://10.15.33.107:3301/#/home
email-from: 18817503105@163.com
email-subject: 【系统提醒】新举报工单提交
email-content: <p>系统收到一条新举报,请及时处理!</p>
# 文件上传Windows开发路径
discipline:
file:
upload:
path: D:/home/upload/report