package com.ym.im.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ym.im.entity.MsgBody;
import com.ym.im.entity.Session;
import com.ym.im.entity.model.SessionInfo;

import java.util.List;

/**
 * @author: JJww
 * @Date:2020/10/21
 */
public interface SessionListService extends IService<Session> {


    /**
     * 获取会话信息列表
     *
     * @param userId
     * @return
     */
    MsgBody<List<SessionInfo>> getSessionList(Long userId);

}
