library.service.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. export default class LibraryService {
  2. constructor(AjaxService) {
  3. Object.assign(this, { AjaxService })
  4. this.name = 'LibraryService'
  5. }
  6. // 美业资料列表
  7. GetProductArchive(data = {}) {
  8. return this.AjaxService.get({
  9. url: '/commodity/product/archive',
  10. data,
  11. isLoading: true,
  12. })
  13. }
  14. // 采美文章列表
  15. GetArticleList(data = {}) {
  16. return this.AjaxService.get({
  17. url: '/commodity/search/query/article',
  18. data,
  19. isLoading: true
  20. })
  21. }
  22. // 采美百科列表
  23. GetEncyclopediaList(data = {}) {
  24. return this.AjaxService.get({
  25. url: '/commodity/search/query/baike/keyword',
  26. data,
  27. isLoading: true
  28. })
  29. }
  30. // 获取关键词库关键词列表
  31. GetSearchKeywordList(data = {}) {
  32. return this.AjaxService.post({
  33. url: '/commodity/search/query/get/keyword/list',
  34. data,
  35. isLoading: false
  36. })
  37. }
  38. }