liujie
2 天以前 9be538f6fe9d757a1c52577392488855cabb5242
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));
    }