| | |
| | | import javax.validation.Valid; |
| | | |
| | | /** |
| | | * @author wzy |
| | | * @author |
| | | * @date 2022-03-24 |
| | | **/ |
| | | @Slf4j |
| | |
| | | |
| | | @RequiresPermissions("admin:simulate") |
| | | @PostMapping(value = "/simulateData") |
| | | @ControllerEndpoint(operation = "模拟数据生成", exceptionMessage = "模拟数据生成失败") |
| | | @ControllerEndpoint(operation = "生成虚拟收益", exceptionMessage = "生成虚拟收益失败") |
| | | public FebsResponse simulateData(@Valid SimulateDataDto simulateDataDto) { |
| | | String batchNo = dappSimulateDataService.generateSimulateData(simulateDataDto); |
| | | return new FebsResponse().success().data(batchNo); |