package com.ruoyi.xq.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.xq.domain.UserVisitor;
import com.ruoyi.xq.dto.app.uservisitor.UserVisitorQuery;
import com.ruoyi.xq.dto.app.uservisitor.vo.UserVisitorListVo;

/**
 * 用户来访记录Service接口
 *
 * @author 77
 * @date 2024-03-18
 */
public interface UserVisitorService extends IService<UserVisitor> {

    void visitor(Long userId, Long tarUserId);

    Page<UserVisitorListVo> pageApp(PageQuery pageQuery, UserVisitorQuery query);
}
