refactor(badge): remove unused code

This commit is contained in:
LinkinStars
2024-08-28 15:34:40 +08:00
committed by kumfo
parent 9594acb6e6
commit 90faa87e52
@@ -273,13 +273,6 @@ func (bs *BadgeAwardService) GetUserRecentBadgeAwardList(ctx *gin.Context, req *
return
}
// validate user
type userReq struct {
UserID string
Username string
}
func (bs *BadgeAwardService) validateUserByUsername(ctx context.Context, userName string) (userID string, err error) {
var (
userInfo *schema.UserBasicInfo