by Robin at 20240715
This commit is contained in:
parent
7c36b8c16f
commit
08ddd0419b
|
@ -129,6 +129,9 @@ func (s *Service) ApiLoginByPswd(ctx *gin.Context, req *loginproto.ApiLoginByPsw
|
||||||
accountVO = &accountproto.ApiListVO{}
|
accountVO = &accountproto.ApiListVO{}
|
||||||
accountVO.CopyAccount(account)
|
accountVO.CopyAccount(account)
|
||||||
|
|
||||||
|
wallet, _ := _DefaultVas.CheckWalletExist(ctx, nil, util.DerefInt64(accountVO.Mid))
|
||||||
|
accountVO.CopyWallet(wallet)
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -204,6 +207,9 @@ func (s *Service) ApiLoginByVeriCode(ctx *gin.Context, req *loginproto.ApiLoginB
|
||||||
isEnabled = util.DerefInt64(login.IsEnabled)
|
isEnabled = util.DerefInt64(login.IsEnabled)
|
||||||
accountVO = &accountproto.ApiListVO{}
|
accountVO = &accountproto.ApiListVO{}
|
||||||
accountVO.CopyAccount(account)
|
accountVO.CopyAccount(account)
|
||||||
|
|
||||||
|
wallet, _ := _DefaultVas.CheckWalletExist(ctx, nil, util.DerefInt64(accountVO.Mid))
|
||||||
|
accountVO.CopyWallet(wallet)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue