liujie
5 小时以前 18f2afc8319a9c11382cbdfbd5f984958eb99a6b
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));
    }