release-v1.0 #1

Merged
panchichun merged 41 commits from release-v1.0 into main 2024-09-13 17:03:09 +08:00
Showing only changes of commit 801ad634dc - Show all commits

View File

@ -38,7 +38,7 @@ public class DocumentCategoryController extends BaseController
/** /**
* 查询文档资源分类管理列表 * 查询文档资源分类管理列表
*/ */
@PreAuthorize("@ss.hasPermi('system:category:list')") //@PreAuthorize("@ss.hasPermi('system:category:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(DocumentCategory documentCategory) 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) @Log(title = "文档资源分类管理", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, DocumentCategory documentCategory) 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}") @GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String 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) @Log(title = "文档资源分类管理", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody DocumentCategory documentCategory) 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) @Log(title = "文档资源分类管理", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody DocumentCategory documentCategory) 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) @Log(title = "文档资源分类管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}") @DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids) public AjaxResult remove(@PathVariable String[] ids)