| | |
| | | @Validated |
| | | @RequiredArgsConstructor |
| | | @Api(value = "会议表", tags = "会议表管理") |
| | | @RestController |
| | | @RestController("AdminMeetController") |
| | | @RequestMapping("api/admin/meet") |
| | | public class MeetController { |
| | | |
| | |
| | | public Result update(@RequestBody @Validated(Update.class) MeetForm form) { |
| | | return meetService.update(form); |
| | | } |
| | | |
| | | @PutMapping("/start") |
| | | @ApiOperation(value = "开始上课", notes = "开始上课") |
| | | public Result start(@RequestBody @Validated(Update.class) MeetForm form) { |
| | | return meetService.start(form); |
| | | } |
| | | @DeleteMapping("/{id}") |
| | | @ApiOperation(value = "ID删除", notes = "ID删除") |
| | | public Result removeById(@PathVariable("id") String id) { |
| | |
| | | public Result list() { |
| | | return meetService.all(); |
| | | } |
| | | |
| | | } |