From 938d1522deeb62b09456e51f90a389331221aac9 Mon Sep 17 00:00:00 2001 From: hy001 Date: Sat, 9 May 2026 00:15:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=92=B1=E5=8C=85bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../endpoint/wallet/WalletGoldClientEndpoint.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/rc-service/rc-service-wallet/wallet-inner-endpoint/src/main/java/com/red/circle/wallet/inner/endpoint/wallet/WalletGoldClientEndpoint.java b/rc-service/rc-service-wallet/wallet-inner-endpoint/src/main/java/com/red/circle/wallet/inner/endpoint/wallet/WalletGoldClientEndpoint.java index 4432dc30..846d11b4 100644 --- a/rc-service/rc-service-wallet/wallet-inner-endpoint/src/main/java/com/red/circle/wallet/inner/endpoint/wallet/WalletGoldClientEndpoint.java +++ b/rc-service/rc-service-wallet/wallet-inner-endpoint/src/main/java/com/red/circle/wallet/inner/endpoint/wallet/WalletGoldClientEndpoint.java @@ -39,23 +39,25 @@ public class WalletGoldClientEndpoint implements WalletGoldClientApi { } @Override - public ResultResponse changeBalance(GoldReceiptCmd cmd) { + public ResultResponse changeBalance( + @RequestBody @Validated GoldReceiptCmd cmd) { return ResultResponse.success(walletGoldClientService.changeBalance(cmd)); } @Override - public ResultResponse changeBalanceTest(TestWalletReceiptCmd cmd) { + public ResultResponse changeBalanceTest( + @RequestBody @Validated TestWalletReceiptCmd cmd) { return ResultResponse.success(walletGoldClientService.changeBalanceTest(cmd)); } @Override - public ResultResponse refundBack(RefundBackReceiptCmd cmd) { + public ResultResponse refundBack(@RequestBody @Validated RefundBackReceiptCmd cmd) { walletGoldClientService.refundBack(cmd); return ResultResponse.success(); } @Override - public ResultResponse recovery(RecoveryGoldReceiptCmd cmd) { + public ResultResponse recovery(@RequestBody @Validated RecoveryGoldReceiptCmd cmd) { walletGoldClientService.recovery(cmd); return ResultResponse.success(); } @@ -74,7 +76,7 @@ public class WalletGoldClientEndpoint implements WalletGoldClientApi { @Override public ResultResponse> listWater( - UserGoldRunningWaterBackQryCmd cmd) { + @RequestBody @Validated UserGoldRunningWaterBackQryCmd cmd) { return ResultResponse.success(walletGoldClientService.listWater(cmd)); } @@ -90,7 +92,7 @@ public class WalletGoldClientEndpoint implements WalletGoldClientApi { @Override public ResultResponse getClsSearchWater( - UserGoldRunningWaterBackQryCmd query) { + @RequestBody @Validated UserGoldRunningWaterBackQryCmd query) { return ResultResponse.success(walletGoldClientService.getClsSearchWater(query)); }