From 60b57998dd5309e4bfe7c40f890838d4c4a5c7d6 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Wed, 9 Nov 2022 10:37:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E7=94=A8=E6=88=B7=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E6=B6=88=E8=80=97=200=20=E7=9A=84=E6=83=85=E5=86=B5?= =?UTF-8?q?=20=E6=88=90=E5=8A=9F=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/user/module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/user/module.go b/modules/user/module.go index 2fe272e1e..7660a85db 100644 --- a/modules/user/module.go +++ b/modules/user/module.go @@ -234,7 +234,7 @@ func (this *User) QueryAttributeValue(uid string, attr string) (value int64) { func (this *User) change(session comm.IUserSession, attr string, add int32) (change *pb.UserResChangedPush, code pb.ErrorCode) { if add == 0 { log.Errorf("attr no changed,uid: %s attr: %s add: %d", session.GetUserId(), attr, add) - code = pb.ErrorCode_ReqParameterError + // code = pb.ErrorCode_ReqParameterError return }