Skip to content

Commit

Permalink
fix: 测试
Browse files Browse the repository at this point in the history
  • Loading branch information
danmuking committed Apr 6, 2024
1 parent 72f767c commit 4c804da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/user_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func Login(c *gin.Context) {
resp.ErrorResponse(c, "用户名或密码错误")
return
}
// 生成jwt
//生成jwt
token, _ := utils.GenerateToken(user.ID)
resp.SuccessResponse(c, token)
}

0 comments on commit 4c804da

Please sign in to comment.