成就等界面接口调整

This commit is contained in:
2025-10-31 19:13:21 +08:00
parent 9ad9507a72
commit 16754b527e
61 changed files with 4748 additions and 592 deletions

View File

@@ -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 获取收藏详情