2021-05-28 10:40:39 +00:00
|
|
|
Server:
|
|
|
|
RunMode: debug
|
|
|
|
HttpPort: 8080
|
|
|
|
ReadTimeout: 60
|
|
|
|
WriteTimeout: 60
|
|
|
|
App:
|
|
|
|
DefaultPageSize: 10
|
|
|
|
MaxPageSize: 100
|
|
|
|
LogSavePath: storage/logs
|
|
|
|
LogFileName: app
|
|
|
|
LogFileExt: .log
|
|
|
|
UploadSavePath: storage/uploads
|
|
|
|
UploadServerUrl: "http://127.0.0.1:8080/static"
|
|
|
|
UploadImageMaxSize: 5 # MB
|
|
|
|
UploadImageAllowExts:
|
|
|
|
- .jpg
|
|
|
|
- .jpeg
|
|
|
|
- .png
|
|
|
|
Database:
|
|
|
|
DBType: mysql
|
|
|
|
Username: xing # 填写你的数据库账号
|
|
|
|
Password: xing # 填写你的数据库密码
|
|
|
|
Host: 127.0.0.1:3306
|
|
|
|
DBName: tt
|
|
|
|
TablePrefix: blog_
|
|
|
|
Charset: utf8mb4
|
|
|
|
ParseTime: True
|
|
|
|
MaxIdleConns: 10
|
2021-05-31 09:40:47 +00:00
|
|
|
MaxOpenConns: 30
|
|
|
|
JWT:
|
|
|
|
Secret: eddycjy
|
|
|
|
Issuer: blog-service
|
2021-06-01 08:19:40 +00:00
|
|
|
Expire: 7200
|
|
|
|
Email:
|
|
|
|
Host: smtp.qq.com
|
|
|
|
Port: 465
|
|
|
|
UserName: xxxx@qq.com
|
|
|
|
Password: xxxxxxxx
|
|
|
|
IsSSL: true
|
|
|
|
From: xxxx@qq.com
|
|
|
|
To:
|
|
|
|
- xxxx@qq.com
|