feat✨优化字典数据错误判断写法

This commit is contained in:
zhangwenjian authored and wenjianzhang committed 2021-05-08 13:53:27 +08:00
1 parent c6d94c03fb
commit c6a52134b3
69 files changed
+591 -479

No files matched your search

+2 -1
View File
@@ -3,6 +3,7 @@ package api
import (
"context"
"fmt"
router2 "go-admin/app/other/router"
"log"
"net/http"
"os"
@@ -115,7 +116,7 @@ func run() error {
if config.ApplicationConfig.Mode == "dev" {
//监控
AppRouters = append(AppRouters, router.Monitor)
AppRouters = append(AppRouters, router2.Monitor)
}
for _, f := range AppRouters {