SinglePageService.java 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package com.caimei.www.service.page;
  2. import com.caimei.www.pojo.JsonModel;
  3. import com.caimei.www.pojo.page.ImageLink;
  4. import com.caimei.www.pojo.page.PageContent;
  5. import org.springframework.http.server.reactive.ServerHttpResponse;
  6. import reactor.core.publisher.Mono;
  7. import java.io.FileNotFoundException;
  8. import java.io.UnsupportedEncodingException;
  9. import java.util.List;
  10. /**
  11. * Description
  12. *
  13. * @author : Charles
  14. * @date : 2020/7/20
  15. */
  16. public interface SinglePageService {
  17. /** 自由页面 */
  18. PageContent getFreePageById(Integer id);
  19. /** 二级页面 */
  20. PageContent getTopicPageById(Integer id);
  21. /** 采美直播 */
  22. PageContent getLivePageData();
  23. /** 品牌招商表格下载 */
  24. Mono<Void> downloadByWriteWith(ServerHttpResponse response) throws UnsupportedEncodingException, FileNotFoundException;
  25. /** 获取讲师列表 */
  26. JsonModel<List<ImageLink>> getLiveTeachers();
  27. /**
  28. * 产品仪器页
  29. * @return
  30. */
  31. Integer getInstrumentPageIdById(Integer id);
  32. String getPageTitleById(Integer id);
  33. /**
  34. * 活动专题页
  35. */
  36. Integer getActivityPageIdById(Integer id);
  37. }