From cd13fbc6bfb76fcc298fd26f1f95ba21eb01efde Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Thu, 15 Dec 2022 15:33:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=94=99=E8=AF=AF=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= 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 e910a920a..0acbea02a 100644 --- a/modules/user/module.go +++ b/modules/user/module.go @@ -235,7 +235,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.Error("attr no changed", log.Fields{"uid": session.GetUserId(), "attr": attr, "add": add}) + log.Warn("attr no changed", log.Fields{"uid": session.GetUserId(), "attr": attr, "add": add}) // code = pb.ErrorCode_ReqParameterError return }