diff --git a/route/group_r/group_support.go b/route/group_r/group_support.go index 3d7c4dfd31106aa1ea4c4036f9ba3704f04328e6..fbdc263fcc9b215b542cbbdfda3223ef48d0d528 100644 --- a/route/group_r/group_support.go +++ b/route/group_r/group_support.go @@ -366,6 +366,7 @@ func TakeSupportAward(c *gin.Context) (*mycontext.MyContext, error) { msg = fmt.Sprintf(resMul.Content, codeMap[uid]) } if times, err := group_c.GetGroupSupportAwardIpTimes(model, ip); err != nil || times >= 6 { + myContext.Log.Infof("ip more 6:%v-%v-%v", times, ip, uid) return myContext, myerr.NewBusinessCodeNoCheck(bizerr.GroupSupportIpLimit.GetCode(), msg, myerr.BusinessData{}) } } @@ -376,6 +377,7 @@ func TakeSupportAward(c *gin.Context) (*mycontext.MyContext, error) { if resMul, _ := res_m.GetResMultiTextBy(model.Db, msg_e.MSG_ID_REPEAT_ACCOUNT, lang); resMul != nil { msg = fmt.Sprintf(resMul.Content, codeMap[ipUser[ip]]) } + myContext.Log.Infof("ip more 6 two:%v-%v-%v", cnt, ip, ipUser[ip]) return myContext, myerr.NewBusinessCodeNoCheck(bizerr.GroupSupportIpLimit.GetCode(), msg, myerr.BusinessData{}) } }