| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.biz.zbom.model.zhongtai.ZTCatalogListRequest; |
| | | import com.doumee.biz.zbom.model.zhongtai.response.ZTCatalogInfoResponse; |
| | | import com.doumee.biz.zbom.model.zhongtai.response.ZTTagInfoResponse; |
| | | import com.doumee.biz.zbom.model.zhongtai.ZTContentListRequest; |
| | | import com.doumee.biz.zbom.model.zhongtai.response.*; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | */ |
| | | public interface GetZhongTaiDataService { |
| | | |
| | | /** |
| | | * 分类数据 |
| | | * @param param |
| | | * @return |
| | | */ |
| | | List<ZTCatalogInfoResponse> getCatalogList(ZTCatalogListRequest param); |
| | | |
| | | /** |
| | | * 标签数据 |
| | | * @param param |
| | | * @return |
| | | */ |
| | | List<ZTTagInfoResponse> getCataLogTagList(ZTCatalogListRequest param); |
| | | |
| | | /** |
| | | * 父子级分类数据 分类+标签 |
| | | * @param ztCatalogListRequest |
| | | * @return |
| | | */ |
| | | List<ZTCatalogInfoResponse> getZTCatalogInfoResponse(ZTCatalogListRequest ztCatalogListRequest); |
| | | |
| | | /** |
| | | * 内容分页 |
| | | * @param ztContentListRequest |
| | | * @return |
| | | */ |
| | | ZTBasePageResponse<ZTContentListResponse> pageContentList(ZTContentListRequest ztContentListRequest); |
| | | |
| | | /** |
| | | * 内容详情 |
| | | * @param id 业务主键 |
| | | * @param userType 用户类型 |
| | | * @param userId 用户主键 |
| | | * @return |
| | | */ |
| | | ZTContentInfoResponse getContentInfo(String id, String userType, Long userId); |
| | | |
| | | /** |
| | | * 收藏业务 |
| | | * @param userId |
| | | * @param userType |
| | | * @param articleId |
| | | */ |
| | | void collectContent(Long userId,String userType,String articleId); |
| | | |
| | | /** |
| | | * 收藏业务 |
| | | * @param userId |
| | | * @param userType |
| | | * @param articleId |
| | | */ |
| | | void likeContent(Long userId,String userType,String articleId); |
| | | |
| | | /** |
| | | * 内容分享 |
| | | * @param userId |
| | | * @param userType |
| | | * @param articleId |
| | | */ |
| | | void shareContent(Long userId,String userType,String articleId); |
| | | |
| | | |
| | | /** |
| | | * 内容浏览 |
| | | * @param userId |
| | | * @param userType |
| | | * @param articleId |
| | | */ |
| | | void viewContent(Long userId,String userType,String articleId); |
| | | } |