xiangpei
2024-06-06 c2dc62c3d40be033cdb65fa54473f7f355e67e88
src/main/java/com/ycl/jxkg/controller/admin/ClassesNotifyController.java
@@ -27,14 +27,13 @@
@RequiredArgsConstructor
@Api(value = "班级通知", tags = "班级通知管理")
@RestController
@RequestMapping("/api/classes-notify")
@RequestMapping("/api/admin/classes-notify")
public class ClassesNotifyController {
    private final ClassesNotifyService classesNotifyService;
    @PostMapping
    @ApiOperation(value = "添加", notes = "添加")
    @PreAuthorize("hasAuthority('classesNotify:add')")
    public Result add(@RequestBody @Validated(Add.class) ClassesNotifyForm form) {
        return classesNotifyService.add(form);
    }