statistics.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. import {axios} from '@/utils/request'
  2. // 获取所有账户
  3. export function getAdvertiserList() {
  4. return axios({
  5. url: "/ctop/accountReport/getAdvertiserList",
  6. method: 'post',
  7. // data: parameter
  8. })
  9. }
  10. // getReportList
  11. export function getReportList(parameter) {
  12. return axios({
  13. url: "/ctop/accountReport/getReportList",
  14. method: 'post',
  15. data: parameter
  16. })
  17. }
  18. // getReportList
  19. export function getStatistics(parameter) {
  20. return axios({
  21. url: "/ctop/accountReport/getStatistics",
  22. method: 'post',
  23. data: parameter
  24. })
  25. }
  26. // getDailyReport
  27. export function getDailyReport(parameter) {
  28. return axios({
  29. url: "/ctop/daily/getDailyReport",
  30. method: 'post',
  31. data: parameter
  32. })
  33. }
  34. // /materialReport/getKuaiShouMaterialMarket
  35. //素材大盘
  36. export function getKuaiShouMaterialMarket(parameter) {
  37. return axios({
  38. url: "/materialReport/getKuaiShouMaterialMarket",
  39. method: 'post',
  40. data: parameter
  41. })
  42. }
  43. // /materialReport/getKuaiShouMaterialMarket
  44. //素材大盘分时
  45. export function getKuaiShouChainRatio(parameter) {
  46. return axios({
  47. url: "/materialReport/getKuaiShouChainRatio",
  48. method: 'post',
  49. data: parameter
  50. })
  51. }
  52. // /materialReport/getMaterialReportByAccount
  53. // userId:
  54. // 分账户
  55. export function getMaterialReportByAccount(parameter) {
  56. return axios({
  57. url: "/materialReport/getMaterialReportByAccount",
  58. method: 'post',
  59. data: parameter
  60. })
  61. }
  62. // /MaterialRefuse/getRefuseCreative
  63. export function getRefuseCreative(parameter) {
  64. return axios({
  65. url: "/MaterialRefuse/getRefuseCreative",
  66. method: 'post',
  67. data: parameter
  68. })
  69. }
  70. // /MaterialRefuse/updateCreative
  71. // 修改
  72. export function updateCreative(parameter) {
  73. return axios({
  74. url: "/MaterialRefuse/updateCreative",
  75. method: 'post',
  76. data: parameter
  77. })
  78. }
  79. // /MaterialRefuse/selectByCreateName
  80. export function selectByCreateName(parameter) {
  81. return axios({
  82. url: "/MaterialRefuse/selectByCreateName",
  83. method: 'post',
  84. data: parameter
  85. })
  86. }