diff --git a/api/controller/SystemMember.go b/api/controller/SystemMember.go index 666d785..6f3564f 100644 --- a/api/controller/SystemMember.go +++ b/api/controller/SystemMember.go @@ -43,15 +43,15 @@ func (b *SystemMember) GetSystemMemberLeast(c *gin.Context) { var reductionAmount *float64 // 检测用户是否购买过会员 - userId := c.GetInt64("UserId") - if userId != 0 { - userService := service.UserService{} - isBuy := userService.CheckUserBuyMember(userId) - if isBuy == true { - responses.OkWithData(reductionAmount, c) - return - } - } + //userId := c.GetInt64("UserId") + //if userId != 0 { + // userService := service.UserService{} + // isBuy := userService.CheckUserBuyMember(userId) + // if isBuy == true { + // responses.OkWithData(reductionAmount, c) + // return + // } + //} systemMemberDao := dao.SystemMemberDao{}