上传用户资源消耗 0 的情况 成功返回

This commit is contained in:
liwei1dao 2022-11-09 10:37:17 +08:00
parent 5d0185c458
commit 60b57998dd

View File

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