Logo white

webapp / GreenwayWeb

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • GreenwayWeb
  • admin-web-master
  • src
  • api
  • home.js
  • '初始'
    3f535f30
    杨鑫 authored
    2024-11-19 14:29:41 +0800  
    Browse Code »
home.js 412 Bytes
Edit Raw Blame History
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
import request from '@/utils/request'

// 查询首页统计图表
/**
 * @param {*}
 * @returns request
 */
export function homeGetChartData () {
  return request({
    url: '/index/indexCharts',
    method: 'post'
  })
}

// 查询首页统计统计数据
/**
 * @param {*}
 * @returns request
 */
export function homeGetFormData () {
  return request({
    url: '/index/indexStats',
    method: 'post'
  })
}