添加接口

This commit is contained in:
lu7213 committed 2026-08-12 05:20:52 -04:00
1 parent 9b78c4a8a5
commit f25ff6eb3b
5 files changed
+60 -1

No files matched your search

@@ -2,6 +2,9 @@ package com.ruoyi.system.controller;
import com.ruoyi.common.select.Ids;
import com.ruoyi.common.select.SelectItem;
import java.util.List;
import com.ruoyi.system.domain.DmGroupOperateVo;
import com.ruoyi.system.domain.DmOperateVo;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
@@ -115,4 +118,12 @@ public class DmPlayerTaskGroupController extends BaseController
{
return toAjax(dmPlayerTaskGroupService.deleteDmPlayerTaskGroupByIds(ids));
}
@PreAuthorize("@ss.hasPermi('system:dmtaskgroup:operate')")
@Log(title = "操作", businessType = BusinessType.INSERT)
@PostMapping("/operate")
public AjaxResult operate(@RequestBody DmGroupOperateVo vo)
{
return toAjax(dmPlayerTaskGroupService.operate(vo));
}
}