home.js 333 B

1234567891011121314151617
  1. import axios from '@/libs/api.request'
  2. // 获取总数
  3. export const getcountlist = () => {
  4. return axios.request({
  5. url: '/index/homepage/getcount',
  6. method: 'post'
  7. })
  8. }
  9. // 获取分析数据
  10. export const getstatistics = () => {
  11. return axios.request({
  12. url: '/index/homepage/getstatistics',
  13. method: 'post'
  14. })
  15. }