liusheng
2023-10-26 dcd3eb3bbbc25b01155493f20f5680fc6d4aee11
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysClassController.java
@@ -87,7 +87,7 @@
     */
    @PreAuthorize("@ss.hasPermi('system:class:edit')")
    @Log(title = "班级信息", businessType = BusinessType.UPDATE)
    @PutMapping
    @PostMapping("/edit")
    @RepeatSubmit    
    public AjaxResult edit(@RequestBody SysClass sysClass)
    {
@@ -99,7 +99,7 @@
     */
    @PreAuthorize("@ss.hasPermi('system:class:remove')")
    @Log(title = "班级信息", businessType = BusinessType.DELETE)
    @DeleteMapping("/{classIds}")
    @GetMapping("/remove/{classIds}")
    public AjaxResult remove(@PathVariable Long[] classIds)
    {
        return toAjax(sysClassService.removeByIds(Arrays.asList(classIds)));