Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
htdcx committed Jun 7, 2024
2 parents c768a15 + 34382b0 commit 58d751b
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 58d751b

Please sign in to comment.