statistics.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. // /materialReport/getKuaiShouMaterialMarket
  27. //素材大盘
  28. export function getKuaiShouMaterialMarket(parameter) {
  29. return axios({
  30. url: "/materialReport/getKuaiShouMaterialMarket",
  31. method: 'post',
  32. data: parameter
  33. })
  34. }
  35. // /materialReport/getKuaiShouMaterialMarket
  36. //素材大盘分时
  37. export function getKuaiShouChainRatio(parameter) {
  38. return axios({
  39. url: "/materialReport/getKuaiShouChainRatio",
  40. method: 'post',
  41. data: parameter
  42. })
  43. }
  44. // /materialReport/getMaterialAccount
  45. // userId:
  46. // 查看当前账户下绑定账号
  47. export function getMaterialAccount(parameter) {
  48. return axios({
  49. url: "/materialReport/getMaterialAccount",
  50. method: 'post',
  51. data: parameter
  52. })
  53. }
  54. // /materialReport/getMaterialReportByAccount
  55. // userId:
  56. // 分账户
  57. export function getMaterialReportByAccount(parameter) {
  58. return axios({
  59. url: "/materialReport/getMaterialReportByAccount",
  60. method: 'post',
  61. data: parameter
  62. })
  63. }
  64. // /MaterialRefuse/getRefuseCreative
  65. export function getRefuseCreative(parameter) {
  66. return axios({
  67. url: "/MaterialRefuse/getRefuseCreative",
  68. method: 'post',
  69. data: parameter
  70. })
  71. }
  72. // /MaterialRefuse/updateCreative
  73. // 修改
  74. export function updateCreative(parameter) {
  75. return axios({
  76. url: "/MaterialRefuse/updateCreative",
  77. method: 'post',
  78. data: parameter
  79. })
  80. }
  81. // /MaterialRefuse/selectByCreateName
  82. export function selectByCreateName(parameter) {
  83. return axios({
  84. url: "/MaterialRefuse/selectByCreateName",
  85. method: 'post',
  86. data: parameter
  87. })
  88. }