19 lines
487 B
Java
19 lines
487 B
Java
package com.ruoyi.cai.service;
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.ruoyi.cai.domain.UserOnline;
|
|
import com.ruoyi.cai.dto.app.vo.user.OnlineStatusVo;
|
|
|
|
/**
|
|
* 用户在线状态Service接口
|
|
*
|
|
* @author 77
|
|
* @date 2023-12-23
|
|
*/
|
|
public interface UserOnlineService extends IService<UserOnline> {
|
|
|
|
UserOnline getByUserId(Long userId);
|
|
|
|
OnlineStatusVo onlineStatus(Long userId, Integer openVideoStatus, Integer videoStatus, Integer isAnchor);
|
|
}
|