Update MemberCollectionService.java

This commit is contained in:
macro
2020-07-08 20:27:46 +08:00
parent a08fdee67e
commit beb4ce63e6

View File

@@ -10,13 +10,28 @@ import java.util.List;
* Created by macro on 2018/8/2.
*/
public interface MemberCollectionService {
/**
* 添加收藏
*/
int add(MemberProductCollection productCollection);
/**
* 删除收藏
*/
int delete(Long productId);
/**
* 分页查询收藏
*/
Page<MemberProductCollection> list(Integer pageNum, Integer pageSize);
/**
* 查看收藏详情
*/
MemberProductCollection detail(Long productId);
/**
* 清空收藏
*/
void clear();
}