Search in sources :

Example 1 with RecoveryFileListVo

use of com.qiwenshare.file.vo.file.RecoveryFileListVo in project qiwen-file by qiwenshare.

the class RecoveryFileController method getRecoveryFileList.

@Operation(summary = "回收文件列表", description = "回收文件列表", tags = { "recoveryfile" })
@RequestMapping(value = "/list", method = RequestMethod.POST)
@ResponseBody
public RestResult<List<RecoveryFileListVo>> getRecoveryFileList() {
    JwtUser sessionUserBean = SessionUtil.getSession();
    RestResult<List<RecoveryFileListVo>> restResult = new RestResult<List<RecoveryFileListVo>>();
    List<RecoveryFileListVo> recoveryFileList = recoveryFileService.selectRecoveryFileList(sessionUserBean.getUserId());
    restResult.setData(recoveryFileList);
    restResult.setSuccess(true);
    return restResult;
}
Also used : RestResult(com.qiwenshare.common.result.RestResult) JwtUser(com.qiwenshare.common.util.security.JwtUser) List(java.util.List) RecoveryFileListVo(com.qiwenshare.file.vo.file.RecoveryFileListVo) Operation(io.swagger.v3.oas.annotations.Operation)

Aggregations

RestResult (com.qiwenshare.common.result.RestResult)1 JwtUser (com.qiwenshare.common.util.security.JwtUser)1 RecoveryFileListVo (com.qiwenshare.file.vo.file.RecoveryFileListVo)1 Operation (io.swagger.v3.oas.annotations.Operation)1 List (java.util.List)1