Merge pull request 'by Robin at 20240715' (#617) from BUG-20240715 into test
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/617
This commit is contained in:
commit
e0bcac5804
|
@ -133,6 +133,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
|
||||
}
|
||||
|
||||
|
@ -208,6 +211,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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue