by Robin at 20240510

This commit is contained in:
Leufolium 2024-05-10 18:46:52 +08:00
parent c3c313dfa6
commit 828447ed3f
1 changed files with 1 additions and 0 deletions

View File

@ -675,6 +675,7 @@ func (s *Service) utilCancelAccountByMids(ctx *gin.Context, midList []int64) err
phoneHash := strings.ToLower(util.DerefString(account.PhoneHash)) phoneHash := strings.ToLower(util.DerefString(account.PhoneHash))
err = _DefaultAccount.OpUpdate(ctx, &accountproto.OpUpdateReq{ err = _DefaultAccount.OpUpdate(ctx, &accountproto.OpUpdateReq{
Account: &dbstruct.Account{ Account: &dbstruct.Account{
Mid: account.Mid,
Name: goproto.String(cfg.Name), Name: goproto.String(cfg.Name),
PhoneHash: goproto.String(phoneHash), PhoneHash: goproto.String(phoneHash),
MobilePhone: goproto.String(cfg.MobilePhone), MobilePhone: goproto.String(cfg.MobilePhone),