zhangqian
2023-08-28 3fa020f26f0cfe21d4f769593d19d4cb2a657ae0
middleware/error.go
@@ -8,9 +8,9 @@
   "runtime/debug"
   "strings"
   "github.com/flipped-aurora/gin-vue-admin/server/global"
   "github.com/gin-gonic/gin"
   "go.uber.org/zap"
   "srm/global"
)
// GinRecovery recover掉项目可能出现的panic,并使用zap记录相关日志