Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 34382b0

Browse files
authoredMay 24, 2024··
Update middleware.go
1 parent 9d8410b commit 34382b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎middleware/middleware.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func CheckToken(ctx *gin.Context) {
2020
}
2121

2222
if token == "" {
23-
log.Panic("Token不能为空")
23+
log.Panic("Token can't null")
2424
}
2525

2626
tokenNow := model.GetOne[model.Token]("token=?", token)

0 commit comments

Comments
 (0)
Please sign in to comment.