package com.pcloud.book.group.biz;

import com.pcloud.book.group.entity.BookClassifyBuyRecord;

/**
 * @author lily
 * @date 2019/4/19 11:27
 */
public interface BookClassifyBuyRecordBiz {

    /**
     * @Author:lili
     * @Desr:新增购买记录
     * @Date:2019/4/19 11:40
     */
    void insertRecord(BookClassifyBuyRecord bookClassifyBuyRecord);

    /**
     * @Author:lili
     * @Desr:校验用户是否购买
     * @Date:2019/4/19 12:00
     */
    Boolean checkUserBuy(Long wechatUserId, Long classifyId);
}
