package com.ruoyi.cai.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.cai.domain.Dynamic;
import com.ruoyi.cai.dto.admin.vo.DynamicAdminVo;
import com.ruoyi.cai.dto.app.query.DynamicAddReq;
import com.ruoyi.cai.dto.app.query.DynamicQuery;
import com.ruoyi.cai.dto.app.vo.DynamicListVo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.List;

/**
 * 主播动态Service接口
 *
 * @author 77
 * @date 2023-12-23
 */
public interface DynamicService extends IService<Dynamic> {

    List<String> selectDynamicImageList(Long userId, Integer limit);

    Page<DynamicListVo> pageApp(PageQuery pageQuery, DynamicQuery query);

    void saveDynamic(DynamicAddReq res);

    Page<DynamicAdminVo> pageAdmin(PageQuery pageQuery, DynamicAdminVo bo);
}
