YanXuanApi.js 806 B

1234567891011121314151617181920212223242526
  1. import http from "@/api/http.js";
  2. /* 权益小程序管理 报告模块*/
  3. const YanXuanApi = {
  4. // 作者列表
  5. yanxuan_specialAuthorList: (params) => {
  6. return http.get("/cygx/yanxuan_special/author/list", params);
  7. },
  8. // 新增研选专栏作者
  9. yanxuan_specialAuthorAdd: (params) => {
  10. return http.post("/cygx/yanxuan_special/author/add", params);
  11. },
  12. // 禁用/启用研选专栏作者
  13. yanxuan_specialAuthorEnable: (params) => {
  14. return http.post("/cygx/yanxuan_special/author/enable", params);
  15. },
  16. // 审核列表
  17. yanxuan_specialList: (params) => {
  18. return http.get("/cygx/yanxuan_special/list", params);
  19. },
  20. // 审批研选专栏
  21. yanxuan_specialEnable: (params) => {
  22. return http.post("/cygx/yanxuan_special/enable", params);
  23. },
  24. };
  25. export default YanXuanApi;