update app.toml

dev
truthhun 1 year ago
parent f8d6fe11e7
commit c9b919b389

@ -1,14 +1,23 @@
# 程序运行级别debug、info、warn、error
# 程序运行级别debug、info、warn、error,生产环境使用 info及其以上级别
level = "debug"
# 日志编码方式支持json、console
logEncoding = "console"
# 程序运行端口
port = "8880"
# 数据库配置
[database]
driver = "mysql"
dsn = "root:root@tcp(localhost:3306)/moredoc?charset=utf8mb4&loc=Local&parseTime=true"
showSQL = true
maxOpen = 10
maxIdle = 10
# JSON Web Token 配置
[jwt]
# 生成 token 的密钥,请务必修改!!!
secret = "moredoc"
# token 过期时间
expireDays = 365
Loading…
Cancel
Save