|
|
@@ -46,7 +46,6 @@ public class DocDirController extends BaseController {
|
|
|
*/
|
|
|
@ApiOperation("获取顶层目录")
|
|
|
@GetMapping(value = "/top-dir/{type}")
|
|
|
- @Log(title = "文档目录管理", businessType = BusinessType.SEARCH, isSaveResponseData = false)
|
|
|
public DocDir topDir(@ApiParam(value = "目录类型(1.公共 2.部门 3.个人)", required = true) @PathVariable("type") String type) {
|
|
|
DocSpace space = spaceService.selectDocSpaceListByType(type);
|
|
|
|
|
|
@@ -66,7 +65,6 @@ public class DocDirController extends BaseController {
|
|
|
*/
|
|
|
@ApiOperation("目录树")
|
|
|
@GetMapping(value = "/dir-tree/{type}")
|
|
|
- @Log(title = "文档目录管理", businessType = BusinessType.SEARCH, isSaveResponseData = false)
|
|
|
public TreeVO dirTree(@ApiParam(value = "目录类型(1.公共 2.部门 3.个人)", required = true) @PathVariable("type") String type) {
|
|
|
return tree(type, dirTree);
|
|
|
}
|
|
|
@@ -89,7 +87,6 @@ public class DocDirController extends BaseController {
|
|
|
*/
|
|
|
@ApiOperation("文件树")
|
|
|
@GetMapping(value = "/file-tree/{type}")
|
|
|
- @Log(title = "文档目录管理", businessType = BusinessType.SEARCH, isSaveResponseData = false)
|
|
|
public TreeVO fileTree(@ApiParam(value = "目录类型(1.公共 2.部门 3.个人)", required = true) @PathVariable("type") String type) {
|
|
|
return tree(type, fileTree);
|
|
|
}
|
|
|
@@ -98,7 +95,6 @@ public class DocDirController extends BaseController {
|
|
|
* 获取文件树
|
|
|
*/
|
|
|
@ApiOperation("图片文件树")
|
|
|
- @Log(title = "文档目录管理", businessType = BusinessType.SEARCH, isSaveResponseData = false)
|
|
|
@GetMapping(value = "/pic-tree")
|
|
|
public TreeVO picTree() {
|
|
|
String type = "3";
|
|
|
@@ -172,7 +168,6 @@ public class DocDirController extends BaseController {
|
|
|
*/
|
|
|
@ApiOperation("查询目录列表")
|
|
|
//@PreAuthorize("@ss.hasPermi('biz:dir:list')")
|
|
|
- @Log(title = "文档目录管理", businessType = BusinessType.SEARCH, isSaveResponseData = false)
|
|
|
@GetMapping("/list")
|
|
|
public AjaxResult list(DocDir docDir) {
|
|
|
List<DocDir> list = docDirService.selectDocDirList(docDir);
|
|
|
@@ -209,7 +204,6 @@ public class DocDirController extends BaseController {
|
|
|
@ApiOperation("获取文档目录管理详细信息")
|
|
|
//@PreAuthorize("@ss.hasPermi('biz:dir:query')")
|
|
|
@GetMapping(value = "/{dirId}")
|
|
|
- @Log(title = "文档目录管理", businessType = BusinessType.SEARCH, isSaveResponseData = false)
|
|
|
public AjaxResult getInfo(@PathVariable("dirId") Long dirId) {
|
|
|
DocDir dir = docDirService.selectDocDirByDirId(dirId);
|
|
|
DocDirUser dirUser = new DocDirUser();
|