diff --git a/internal/v2/controller/app/vip/vip.go b/internal/v2/controller/app/vip/vip.go index a3ce006..369251a 100644 --- a/internal/v2/controller/app/vip/vip.go +++ b/internal/v2/controller/app/vip/vip.go @@ -147,7 +147,7 @@ func (o Proxy) VipIsUsed(c *gin.Context) { // InviteCheck @Title 邀请码验证 func (o *Proxy) InviteCheck(c *gin.Context) { args := argsGoodsInvite{} - err := tools.Params(&args, c) + err := tools.ParseParams(&args, c) if err != nil { back.Fail(c, err.Error()) return @@ -184,7 +184,7 @@ type argsGoodsInvite struct { // Invite @Title 邀请码 func (o *Proxy) Invite(c *gin.Context) { args := argsGoodsInvite{} - err := tools.Params(&args, c) + err := tools.ParseParams(&args, c) if err != nil { back.Fail(c, err.Error()) return