Skip to content

Commit

Permalink
Update middleware.go
Browse files Browse the repository at this point in the history
  • Loading branch information
htdcx authored May 24, 2024
1 parent 9d8410b commit 34382b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func CheckToken(ctx *gin.Context) {
}

if token == "" {
log.Panic("Token不能为空")
log.Panic("Token can't null")
}

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

0 comments on commit 34382b0

Please sign in to comment.