ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TMajorController.java
@@ -98,8 +98,8 @@ //@PreAuthorize("@ss.hasPermi('system:major:delete')") @Log(title = "专业管理信息-删除专业管理", businessType = BusinessType.DELETE) @ApiOperation(value = "删除专业管理") @DeleteMapping(value = "/open/t-major/deleteById") public R<Boolean> deleteById(@RequestParam String id) { @DeleteMapping(value = "/open/t-major/deleteById/{id}") public R<Boolean> deleteById(@PathVariable String id) { return R.ok(tMajorService.removeById(id)); }