|
@@ -47,11 +47,18 @@ public class SettlementController extends BaseWebController {
|
|
|
return splitService.accountBalanceQuery(params.getId());
|
|
return splitService.accountBalanceQuery(params.getId());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
@PostMapping("/withdraw")
|
|
@PostMapping("/withdraw")
|
|
|
@ApiOperation(value = "取现")
|
|
@ApiOperation(value = "取现")
|
|
|
@OperationLog(type = OperateType.SELECT, description ="取现")
|
|
@OperationLog(type = OperateType.SELECT, description ="取现")
|
|
|
public VaultsResponse<WithdrawBack> withdraw(@RequestBody WithdrawDto dto) {
|
|
public VaultsResponse<WithdrawBack> withdraw(@RequestBody WithdrawDto dto) {
|
|
|
return splitService.withdraw(dto);
|
|
return splitService.withdraw(dto);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ @PostMapping("/withdrawQuery")
|
|
|
|
|
+ @ApiOperation(value = "取现查询")
|
|
|
|
|
+ @OperationLog(type = OperateType.SELECT, description ="取现查询")
|
|
|
|
|
+ public VaultsResponse<WithdrawBack> withdrawQuery(@RequestBody StringParams params) {
|
|
|
|
|
+ return splitService.withdrawQuery(params.getId());
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|