成就等界面接口调整
This commit is contained in:
@@ -2,6 +2,7 @@ package org.xyzh.api.usercenter.collection;
|
||||
|
||||
import org.xyzh.common.core.domain.ResultDomain;
|
||||
import org.xyzh.common.dto.usercenter.TbUserCollection;
|
||||
import org.xyzh.common.vo.UserCollectionVO;
|
||||
|
||||
/**
|
||||
* @description 用户收藏服务接口
|
||||
@@ -42,14 +43,14 @@ public interface UserCollectionService {
|
||||
ResultDomain<Boolean> isCollected(String userID, Integer collectionType, String collectionID);
|
||||
|
||||
/**
|
||||
* @description 获取用户收藏列表
|
||||
* @description 获取用户收藏列表(扁平化VO,包含详情)
|
||||
* @param userID 用户ID
|
||||
* @param collectionType 收藏类型(可选)
|
||||
* @return ResultDomain<TbUserCollection> 收藏列表
|
||||
* @return ResultDomain<UserCollectionVO> 收藏列表(包含资源/课程详情)
|
||||
* @author yslg
|
||||
* @since 2025-10-15
|
||||
* @since 2025-10-31
|
||||
*/
|
||||
ResultDomain<TbUserCollection> getUserCollections(String userID, Integer collectionType);
|
||||
ResultDomain<UserCollectionVO> getUserCollections(String userID, Integer collectionType);
|
||||
|
||||
/**
|
||||
* @description 获取收藏详情
|
||||
|
||||
Reference in New Issue
Block a user