init: taotie-api 项目初始化

This commit is contained in:
2026-05-16 00:14:19 +08:00
commit eb15ef4b87
33 changed files with 1746 additions and 0 deletions

22
config/config.dev.yml Normal file
View 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