Skip to content

Commit 58d751b

Browse files
committed
2 parents c768a15 + 34382b0 commit 58d751b

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)