Blame view

merchant-web-master/src/api/dashboard.js 795 Bytes
3f535f30   杨鑫   '初始'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
  import request from '@/utils/request'
  
  //* ******************** 财务统计  *********************
  // 财务统计数据查询
  export function dashIndex(data) {
    return request({
      url: '/index/index',
      method: 'post',
      data
    })
  }
  
  // 用户访问数据导出
  export function userVisitExport(data) {
    return request({
      url: '/index/exportUserVisit',
      method: 'post',
      data,
      responseType: 'blob'
    })
  }
  
  // 订单转换导出
  export function orderConvertExport(data) {
    return request({
      url: '/index/exportOrderConvert',
      method: 'post',
      data,
      responseType: 'blob'
    })
  }
  
  // 热卖商品导出
  export function hotProductsExport(data) {
    return request({
      url: '/index/exportHotProducts',
      method: 'post',
      data,
      responseType: 'blob'
    })
  }