Browse Source

Update MemberCollectionService.java

macro 4 years ago
parent
commit
beb4ce63e6

+ 15 - 0
mall-portal/src/main/java/com/macro/mall/portal/service/MemberCollectionService.java

@@ -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();
 }