1、问题调整
This commit is contained in:
parent
df7e623f4f
commit
801ad634dc
@ -38,7 +38,7 @@ public class DocumentCategoryController extends BaseController
|
||||
/**
|
||||
* 查询文档资源分类管理列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:category:list')")
|
||||
//@PreAuthorize("@ss.hasPermi('system:category:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(DocumentCategory documentCategory)
|
||||
{
|
||||
@ -50,7 +50,7 @@ public class DocumentCategoryController extends BaseController
|
||||
/**
|
||||
* 导出文档资源分类管理列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:category:export')")
|
||||
//@PreAuthorize("@ss.hasPermi('system:category:export')")
|
||||
@Log(title = "文档资源分类管理", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, DocumentCategory documentCategory)
|
||||
@ -63,7 +63,7 @@ public class DocumentCategoryController extends BaseController
|
||||
/**
|
||||
* 获取文档资源分类管理详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:category:query')")
|
||||
//@PreAuthorize("@ss.hasPermi('system:category:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") String id)
|
||||
{
|
||||
@ -73,7 +73,7 @@ public class DocumentCategoryController extends BaseController
|
||||
/**
|
||||
* 新增文档资源分类管理
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:category:add')")
|
||||
//@PreAuthorize("@ss.hasPermi('system:category:add')")
|
||||
@Log(title = "文档资源分类管理", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody DocumentCategory documentCategory)
|
||||
@ -84,7 +84,7 @@ public class DocumentCategoryController extends BaseController
|
||||
/**
|
||||
* 修改文档资源分类管理
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:category:edit')")
|
||||
//@PreAuthorize("@ss.hasPermi('system:category:edit')")
|
||||
@Log(title = "文档资源分类管理", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody DocumentCategory documentCategory)
|
||||
@ -95,7 +95,7 @@ public class DocumentCategoryController extends BaseController
|
||||
/**
|
||||
* 删除文档资源分类管理
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('system:category:remove')")
|
||||
//@PreAuthorize("@ss.hasPermi('system:category:remove')")
|
||||
@Log(title = "文档资源分类管理", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable String[] ids)
|
||||
|
Loading…
x
Reference in New Issue
Block a user