home.js 639 B

123456789101112131415161718192021222324252627282930
  1. import request from '@/utils/request'
  2. // 商户类型统计
  3. export function businessStatistics (data) {
  4. return request({
  5. url: '/system/home/business-statistics',
  6. method: 'get',
  7. })
  8. }
  9. // 商户订单TOP10数
  10. export function ticketOrderStatistics (data) {
  11. return request({
  12. url: '/system/home/ticket-order-statistics',
  13. method: 'get',
  14. })
  15. }
  16. // 头部合计
  17. export function homeTop (data) {
  18. return request({
  19. url: '/system/home/top',
  20. method: 'get',
  21. })
  22. }
  23. // 用户最近七日注册数
  24. export function userStatistics (data) {
  25. return request({
  26. url: '/system/home/user-statistics',
  27. method: 'get',
  28. })
  29. }