上传用户资源消耗 0 的情况 成功返回
This commit is contained in:
parent
5d0185c458
commit
60b57998dd
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user