| | |
| | | |
| | | } |
| | | |
| | | @PostMapping("/cancel_and_start/{version}") |
| | | @ApiVersion(1) |
| | | public String CancelAndStart(HttpServletRequest request){ |
| | | //获取参数 |
| | | FieldSetEntity fse = null; |
| | | Object bean = request.getAttribute(CoreConst.API_POST_REQUEST_DATA); |
| | | if (bean != null) { |
| | | RequestParameterEntity reqp = (RequestParameterEntity) bean; |
| | | fse = reqp.getFormData(); |
| | | } |
| | | //判断参数是否为空 |
| | | if (bean == null || fse == null) { |
| | | return this.error(com.product.admin.config.SystemCode.SYSTEM_FORM_NODATA.getValue(), com.product.admin.config.SystemCode.SYSTEM_FORM_NODATA.getText()); |
| | | } |
| | | conferenceManagerService.CancelAndStart(fse); |
| | | return OK(); |
| | | } |
| | | |
| | | |
| | | |