package top.weiyuexin.service; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.IService; import top.weiyuexin.pojo.Problem; import java.util.List; public interface ProblemService extends IService { IPage getPage(Integer currentPage, Integer pageSize, Problem problem); List hotProblems(Integer num); }