package com.macro.mall.portal.service;

import com.macro.mall.portal.domain.MemberBrandAttention;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * 会员关注Service
 * Created by macro on 2018/8/2.
 */
public interface MemberAttentionService {
    /**
     * 添加关注
     */
    int add(MemberBrandAttention memberBrandAttention);

    /**
     * 取消关注
     */
    int delete(Long brandId);

    /**
     * 获取用户关注列表
     */
    Page<MemberBrandAttention> list(Integer pageNum, Integer pageSize);

    /**
     * 获取用户关注详情
     */
    MemberBrandAttention detail(Long brandId);

    /**
     * 清空关注列表
     */
    void clear();
}

@@ -170,18 +170,22 @@
 **%0A * %E4%BC%9A%E5%91%98
-%E5%85%B3%E6%B3%A8
+%E5%93%81%E7%89%8C%E5%85%B3%E6%B3%A8%E7%AE%A1%E7%90%86
 Service%0A

Update MemberAttentionService.java