We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c768a15 + 34382b0 commit 58d751bCopy full SHA for 58d751b
middleware/middleware.go
@@ -20,7 +20,7 @@ func CheckToken(ctx *gin.Context) {
20
}
21
22
if token == "" {
23
- log.Panic("Token不能为空")
+ log.Panic("Token can't null")
24
25
26
tokenNow := model.GetOne[model.Token]("token=?", token)
0 commit comments