fix:昵称审核,修改头像覆盖昵称问题修复2
This commit is contained in:
parent
ee33214034
commit
016ed42dca
|
@ -374,7 +374,7 @@ func (s *Service) ApiUpdateAccount(ctx *gin.Context, req *accountproto.ApiUpdate
|
|||
auditStatus := s.SetAuditStatusBitMap(oldAccount.GetAuditStatus(), consts.StreamNikeAudit, consts.StreamerNikeNameAuditing)
|
||||
opUpdateReq.AuditStatus = goproto.Int64(auditStatus)
|
||||
} else if oldAccount.GetName() != req.Account.GetName() && req.Account.GetNewName() != "" {
|
||||
opUpdateReq.Name = goproto.String(req.Account.GetName())
|
||||
opUpdateReq.Name = req.Account.Name
|
||||
}
|
||||
|
||||
// 用户只允许修改昵称和头像
|
||||
|
|
Loading…
Reference in New Issue