修复钱包bug
This commit is contained in:
parent
10d4df14cf
commit
938d1522de
@ -39,23 +39,25 @@ public class WalletGoldClientEndpoint implements WalletGoldClientApi {
|
||||
}
|
||||
|
||||
@Override
|
||||
public ResultResponse<WalletReceiptResDTO> changeBalance(GoldReceiptCmd cmd) {
|
||||
public ResultResponse<WalletReceiptResDTO> changeBalance(
|
||||
@RequestBody @Validated GoldReceiptCmd cmd) {
|
||||
return ResultResponse.success(walletGoldClientService.changeBalance(cmd));
|
||||
}
|
||||
|
||||
@Override
|
||||
public ResultResponse<WalletReceiptResDTO> changeBalanceTest(TestWalletReceiptCmd cmd) {
|
||||
public ResultResponse<WalletReceiptResDTO> changeBalanceTest(
|
||||
@RequestBody @Validated TestWalletReceiptCmd cmd) {
|
||||
return ResultResponse.success(walletGoldClientService.changeBalanceTest(cmd));
|
||||
}
|
||||
|
||||
@Override
|
||||
public ResultResponse<Void> refundBack(RefundBackReceiptCmd cmd) {
|
||||
public ResultResponse<Void> refundBack(@RequestBody @Validated RefundBackReceiptCmd cmd) {
|
||||
walletGoldClientService.refundBack(cmd);
|
||||
return ResultResponse.success();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ResultResponse<Void> recovery(RecoveryGoldReceiptCmd cmd) {
|
||||
public ResultResponse<Void> recovery(@RequestBody @Validated RecoveryGoldReceiptCmd cmd) {
|
||||
walletGoldClientService.recovery(cmd);
|
||||
return ResultResponse.success();
|
||||
}
|
||||
@ -74,7 +76,7 @@ public class WalletGoldClientEndpoint implements WalletGoldClientApi {
|
||||
|
||||
@Override
|
||||
public ResultResponse<List<UserGoldRunningWaterHistoryDTO>> 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<UserGoldRunningWaterClsHistoryDTO> getClsSearchWater(
|
||||
UserGoldRunningWaterBackQryCmd query) {
|
||||
@RequestBody @Validated UserGoldRunningWaterBackQryCmd query) {
|
||||
return ResultResponse.success(walletGoldClientService.getClsSearchWater(query));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user