package com.xinquan.user.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.xinquan.system.api.domain.AppUserViewingHistory;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 用户观看历史 服务类
|
* </p>
|
*
|
* @author mitao
|
* @since 2024-09-06
|
*/
|
public interface AppUserViewingHistoryService extends IService<AppUserViewingHistory> {
|
|
/**
|
* 记录用户观看记录
|
*
|
* @param bizId 业务id
|
* @param viewingType 观看类型 1=疗愈 2=课程
|
*/
|
void saveViewingRecord(Long bizId, Integer viewingType);
|
|
List<AppUserViewingHistory> cumulative(Long userId);
|
|
Integer today(Long userId);
|
|
}
|