first commit
This commit is contained in:
52
src/main/resources/application-dev.yml
Normal file
52
src/main/resources/application-dev.yml
Normal file
@@ -0,0 +1,52 @@
|
||||
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: bigdata@2020
|
||||
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
|
||||
Reference in New Issue
Block a user