wangliang 3 жил өмнө
parent
commit
2f018dce58

+ 1 - 1
teachcloud-common-api/src/main/java/com/qmth/teachcloud/common/api/api/SysRoleController.java

@@ -99,7 +99,7 @@ public class SysRoleController {
      */
      */
     @ApiOperation(value = "删除")
     @ApiOperation(value = "删除")
     @RequestMapping(value = "/remove", method = RequestMethod.POST)
     @RequestMapping(value = "/remove", method = RequestMethod.POST)
-    public Result remove(Long id) {
+    public Result remove(@RequestParam(value = "id", required = true) Long id) {
         return ResultUtil.ok(sysRoleService.removeReport(id));
         return ResultUtil.ok(sysRoleService.removeReport(id));
     }
     }