update
This commit is contained in:
@@ -32,7 +32,6 @@ public class DocumentController extends BaseController
|
||||
/**
|
||||
* 查询【文档资源信息】列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:document:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(Document Document)
|
||||
{
|
||||
@@ -44,7 +43,6 @@ public class DocumentController extends BaseController
|
||||
/**
|
||||
* 导出【文档资源信息】列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:document:export')")
|
||||
@Log(title = "【文档资源信息】", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, Document Document)
|
||||
@@ -57,7 +55,6 @@ public class DocumentController extends BaseController
|
||||
/**
|
||||
* 获取【文档资源信息】详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:document:query')")
|
||||
@GetMapping(value = "/{docId}")
|
||||
public AjaxResult getInfo(@PathVariable("docId") String docId)
|
||||
{
|
||||
@@ -67,7 +64,6 @@ public class DocumentController extends BaseController
|
||||
/**
|
||||
* 新增【文档资源信息】
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:document:add')")
|
||||
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody Document Document)
|
||||
@@ -82,7 +78,6 @@ public class DocumentController extends BaseController
|
||||
/**
|
||||
* 修改【文档资源信息】
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:document:edit')")
|
||||
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody Document Document)
|
||||
@@ -93,7 +88,6 @@ public class DocumentController extends BaseController
|
||||
/**
|
||||
* 删除【文档资源信息】
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:document:remove')")
|
||||
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable String[] ids)
|
||||
|
||||
@@ -33,7 +33,6 @@ public class ToolController extends BaseController
|
||||
/**
|
||||
* 查询工具信息列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:tool:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(Tool tool)
|
||||
{
|
||||
@@ -45,7 +44,6 @@ public class ToolController extends BaseController
|
||||
/**
|
||||
* 导出工具信息列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:tool:export')")
|
||||
@Log(title = "工具信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, Tool tTool)
|
||||
@@ -58,7 +56,6 @@ public class ToolController extends BaseController
|
||||
/**
|
||||
* 获取工具信息详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:tool:query')")
|
||||
@GetMapping(value = "/{toolId}")
|
||||
public AjaxResult getInfo(@PathVariable("toolId") String toolId)
|
||||
{
|
||||
@@ -68,7 +65,6 @@ public class ToolController extends BaseController
|
||||
/**
|
||||
* 新增工具信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:tool:add')")
|
||||
@Log(title = "工具信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody Tool tTool)
|
||||
@@ -82,7 +78,6 @@ public class ToolController extends BaseController
|
||||
/**
|
||||
* 修改工具信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:tool:edit')")
|
||||
@Log(title = "工具信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody Tool tTool)
|
||||
@@ -93,7 +88,6 @@ public class ToolController extends BaseController
|
||||
/**
|
||||
* 删除工具信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:tool:remove')")
|
||||
@Log(title = "工具信息", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{toolIds}")
|
||||
public AjaxResult remove(@PathVariable String[] toolIds)
|
||||
|
||||
Reference in New Issue
Block a user