| | |
| | | |
| | | @PostMapping("/bus/submit") |
| | | @OperationLog("generate task from open api") |
| | | @IntegrationAuth(name = NamespaceType.RCS_TASK_REPORT) |
| | | @IntegrationAuth(name = NamespaceType.RCS_BUS_RECEIVE) |
| | | public R submit(@RequestBody OpenBusSubmitParam param, HttpServletRequest request) { |
| | | IntegrationRecord integrationRecord = new IntegrationRecord( |
| | | null, // 编号 |
| | |
| | | |
| | | @PostMapping("/task/cancel") |
| | | @OperationLog("cancel task from open api") |
| | | @IntegrationAuth(name = NamespaceType.RCS_TASK_CANCEL) |
| | | public R cancel(@RequestBody OpenBusCancelParam param) { |
| | | if (Cools.isEmpty(param.getBatchNo())) { |
| | | return R.error("batchNo is empty"); |