|
@@ -40,7 +40,7 @@ public class FileInfoController extends BaseController{
|
|
|
/**
|
|
|
* 查询文件列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('file:info:list')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('file:info:list')")
|
|
|
@GetMapping("/list")
|
|
|
@ApiOperation("查询文件列表")
|
|
|
@ApiImplicitParams({
|
|
@@ -57,7 +57,7 @@ public class FileInfoController extends BaseController{
|
|
|
/**
|
|
|
* 获取文件详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('file:info:query')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('file:info:query')")
|
|
|
@GetMapping(value = "/{fileId}")
|
|
|
@ApiOperation("获取文件详细信息")
|
|
|
public Response<FileInfo> getInfo(
|
|
@@ -70,7 +70,7 @@ public class FileInfoController extends BaseController{
|
|
|
/**
|
|
|
* 上传文件
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('file:info:add')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('file:info:add')")
|
|
|
@Log(title = "上传文件", businessType = BusinessTypeEnum.INSERT)
|
|
|
@PostMapping
|
|
|
@ApiOperation("上传文件")
|
|
@@ -100,7 +100,7 @@ public class FileInfoController extends BaseController{
|
|
|
/**
|
|
|
* 删除文件
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('file:info:remove')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('file:info:remove')")
|
|
|
@Log(title = "文件", businessType = BusinessTypeEnum.DELETE)
|
|
|
@DeleteMapping("/{fileIds}")
|
|
|
@ApiOperation("删除文件")
|