by Robin at 20240510
This commit is contained in:
parent
c3c313dfa6
commit
828447ed3f
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue