init: taotie-api 项目初始化
This commit is contained in:
22
config/config.dev.yml
Normal file
22
config/config.dev.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
server:
|
||||
port: 8000
|
||||
|
||||
log:
|
||||
# const (
|
||||
# LevelDebug Level = -4
|
||||
# LevelInfo Level = 0
|
||||
# LevelWarn Level = 4
|
||||
# LevelError Level = 8
|
||||
# )
|
||||
path: log/app.log
|
||||
level: -4
|
||||
|
||||
db:
|
||||
mongoUri: mongodb://localhost:27017
|
||||
dbName: taotie
|
||||
|
||||
jwt:
|
||||
# 签名字符串
|
||||
signString: taotie-api-q2e
|
||||
# 过期时间,单位秒
|
||||
timeOut: 3600
|
||||
Reference in New Issue
Block a user