encapsulate Redis base function

This commit is contained in:
landaiqing
2024-08-06 13:17:03 +08:00
parent d0496b34f0
commit 86b907d4d0
15 changed files with 493 additions and 23 deletions

View File

@@ -13,6 +13,7 @@ func main() {
core.InitLogger()
core.InitGorm()
core.InitCaptcha()
core.InitRedis()
// 命令行参数绑定
option := cmd.Parse()
if cmd.IsStopWeb(&option) {