package com.sonic.frog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sonic.frog.domain.entity.UserAiMeet;
import com.sonic.frog.domain.output.MeetSdOutput;

/**
 * <p>
 * 用户和AI相互喜欢记录表
 * </p>
 *
 * @author mzc
 * @since 2024-11-28
 */
public interface UserAiMeetService extends IService<UserAiMeet> {

    /**
     * 滑动上报
     * @param userId
     * @param aiId
     * @param lk
     * @return
     */
    MeetSdOutput meetSd(Long userId, Long aiId, boolean lk);

    /**
     * 检查并添加喜欢记录
     * @param userId
     * @param aiId
     * @return
     */
    boolean meetBd(Long userId, Long aiId);

    /**
     * meet爱慕者推荐
     * @param userId
     * @return
     */
    Long meetRc(Long userId);

    /**
     * 添加喜欢记录
     * @param userId
     * @param aiId
     */
    boolean addMeet(Long userId, Long aiId);

}

