修改获取参数

master
kanade 3 years ago
parent 77673fb4b9
commit 32c3f94da2

@ -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

Loading…
Cancel
Save