use of com.qiwenshare.file.vo.share.ShareListVO in project qiwen-file by qiwenshare.
the class ShareController method shareList.
@Operation(summary = "查看已分享列表", description = "查看已分享列表", tags = { "share" })
@GetMapping(value = "/shareList")
@ResponseBody
public RestResult shareList(ShareListDTO shareListDTO) {
JwtUser sessionUserBean = SessionUtil.getSession();
List<ShareListVO> shareList = shareService.selectShareList(shareListDTO, sessionUserBean.getUserId());
int total = shareService.selectShareListTotalCount(shareListDTO, sessionUserBean.getUserId());
Map<String, Object> map = new HashMap<>();
map.put("total", total);
map.put("list", shareList);
return RestResult.success().data(map);
}
Aggregations