YanXuanApi.js 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. import http from "@/api/http.js";
  2. /* 权益小程序管理 报告模块*/
  3. const YanXuanApi = {
  4. // 新增研选专栏作者
  5. yanxuan_specialAuthorAdd: (params) => {
  6. return http.post("/cygx/yanxuan_special/author/add", params);
  7. },
  8. // 禁用/启用研选专栏作者
  9. yanxuan_specialAuthorEnable: (params) => {
  10. return http.post("/cygx/yanxuan_special/author/enable", params);
  11. },
  12. // 审核列表
  13. yanxuan_specialList: (params) => {
  14. return http.get("/cygx/yanxuan_special/list", params);
  15. },
  16. // 审批研选专栏
  17. yanxuan_specialEnable: (params) => {
  18. return http.post("/cygx/yanxuan_special/enable", params);
  19. },
  20. // 置顶、取消置顶
  21. yanxuan_tope_change: (params) => {
  22. return http.post("/cygx/activity/tope_change ", params);
  23. },
  24. // 文章列表
  25. yanxuanReportSpecial: (params) => {
  26. return http.get("/cygx/yanxuan_special/list", params);
  27. },
  28. // 审批记录接口
  29. yanxuanApprovalLogList: (params) => {
  30. return http.get("/cygx/yanxuan_special/approval_log_list", params);
  31. },
  32. // 作者列表
  33. getYanxuanSpecialAuthor: (params) => {
  34. return http.get("/cygx/yanxuan_special/author/list", params);
  35. },
  36. // 收藏详情
  37. getYanxuanSpecialCollect: (params) => {
  38. return http.get("/cygx/yanxuan_special/special_collect/list", params);
  39. },
  40. // 作者粉丝列表
  41. getYanxuanSpecialFans: (params) => {
  42. return http.get("/cygx/yanxuan_special/special_author_fans_list", params);
  43. },
  44. // 作者管理栏按钮是否展示接口
  45. getYanxuanShowButton: (params) => {
  46. return http.get("/cygx/yanxuan_special/show_button", params);
  47. },
  48. // 分享记录列表接口
  49. getShareRecordList: (params) => {
  50. return http.get("/cygx/mfyx/admin/share/list", params);
  51. },
  52. // 修改推荐人 备注信息
  53. yanxuan_specialAuthorUpdate: (params) => {
  54. return http.post("/cygx/yanxuan_special/author/update", params);
  55. },
  56. // 作者模糊查询
  57. yanxuan_specialAuthorSearch: (params) => {
  58. return http.get("/cygx/yanxuan_special/author/search", params);
  59. },
  60. };
  61. export default YanXuanApi;