ReportArticle.js 974 B

123456789101112131415161718192021222324252627282930313233
  1. import { getHttp, postHttp } from "../request.js";
  2. /* 报告文章 */
  3. export const Report = {
  4. /* 报告详情 ArticleId */
  5. reportDtl: (params) => {
  6. return getHttp("/article/detail", params);
  7. },
  8. /* 报告详情 ArticleId */
  9. reportDtlTwo: (params) => {
  10. return getHttp("/tactics/detail", params);
  11. },
  12. /* 收藏 ArticleId*/
  13. collectRpt: (params) => {
  14. return postHttp("/article/collect", params, 0);
  15. },
  16. /* 申请访谈 ArticleId*/
  17. applyRpt: (params) => {
  18. return postHttp("/article/interview/apply", params, 0);
  19. },
  20. /* 新增文章带问接口 ArticleId*/
  21. articleAskAdd: (params) => {
  22. return postHttp("/report/commentAdd", params, 0);
  23. },
  24. /* 下载PDF打水印接口*/
  25. articlePdfwatermark: (params) => {
  26. return getHttp("/article/pdfwatermark", params, 1);
  27. },
  28. /* 报告搜索、资源包搜索接口*/
  29. getSearchReportAndResource: (params) => {
  30. return getHttp("/report/searchReportAndResource", params, 1);
  31. },
  32. };