by Robin at 20240715

This commit is contained in:
Leufolium 2024-07-15 19:26:47 +08:00
parent 7c36b8c16f
commit 08ddd0419b
1 changed files with 6 additions and 0 deletions

View File

@ -129,6 +129,9 @@ func (s *Service) ApiLoginByPswd(ctx *gin.Context, req *loginproto.ApiLoginByPsw
accountVO = &accountproto.ApiListVO{}
accountVO.CopyAccount(account)
wallet, _ := _DefaultVas.CheckWalletExist(ctx, nil, util.DerefInt64(accountVO.Mid))
accountVO.CopyWallet(wallet)
return
}
@ -204,6 +207,9 @@ func (s *Service) ApiLoginByVeriCode(ctx *gin.Context, req *loginproto.ApiLoginB
isEnabled = util.DerefInt64(login.IsEnabled)
accountVO = &accountproto.ApiListVO{}
accountVO.CopyAccount(account)
wallet, _ := _DefaultVas.CheckWalletExist(ctx, nil, util.DerefInt64(accountVO.Mid))
accountVO.CopyWallet(wallet)
return
}