Search in sources :

Example 1 with CommonFileUser

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

the class CommonFileController method commonFileUser.

@Operation(summary = "共享文件用户", description = "共享文件用户接口", tags = { "common" })
@GetMapping(value = "/commonfileuser")
@MyLog(operation = "共享文件用户", module = CURRENT_MODULE)
@ResponseBody
public RestResult<List<CommonFileUser>> commonFileUser() {
    JwtUser sessionUserBean = SessionUtil.getSession();
    List<CommonFileUser> list = commonFileService.selectCommonFileUser(sessionUserBean.getUserId());
    return RestResult.success().data(list);
}
Also used : CommonFileUser(com.qiwenshare.file.vo.commonfile.CommonFileUser) JwtUser(com.qiwenshare.common.util.security.JwtUser) Operation(io.swagger.v3.oas.annotations.Operation) MyLog(com.qiwenshare.common.anno.MyLog)

Aggregations

MyLog (com.qiwenshare.common.anno.MyLog)1 JwtUser (com.qiwenshare.common.util.security.JwtUser)1 CommonFileUser (com.qiwenshare.file.vo.commonfile.CommonFileUser)1 Operation (io.swagger.v3.oas.annotations.Operation)1