@ApiOperation(value = "讲师删除") @DeleteMapping("/{id}") public Boolean deleteTeacherById( @ApiParam(name = "id",value = "讲师Id",required = true) @PathVariable("id") String id){ try { teacherService.removeById(id); return true; } catch (Exception e) { e.printStackTrace(); return false; } }