From 327a38177f3e944edcda716c30a2f985c1e400c3 Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Wed, 24 Apr 2024 22:24:51 +0800 Subject: [PATCH] fix --- api/proto/account/proto/account_vo_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/proto/account/proto/account_vo_api.go b/api/proto/account/proto/account_vo_api.go index 8ff5c498..7f41534c 100644 --- a/api/proto/account/proto/account_vo_api.go +++ b/api/proto/account/proto/account_vo_api.go @@ -57,7 +57,7 @@ func (vo *ApiListVO) CopyWallet(wallet *dbstruct.Wallet) *ApiListVO { return vo } vo.GoldNum = wallet.Coins - vo.DiamondNum = wallet.Diamonds + vo.DiamondNum = wallet.WithdrawDiamonds vo.WithdrawDiamondNum = wallet.WithdrawDiamonds return vo }