From 4222b0a319456b90dbc8c7f168669be045a37bee Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 19 Jul 2021 15:54:07 +0800
Subject: [PATCH] home api

---
 src/api/home/home.js   |    8 ++++++++
 src/views/wel/home.vue |    4 ++++
 2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/api/home/home.js b/src/api/home/home.js
new file mode 100644
index 0000000..ea7b5a6
--- /dev/null
+++ b/src/api/home/home.js
@@ -0,0 +1,8 @@
+import request from '@/router/axios';
+
+export const startList = () => {
+  return request({
+    url: '/api/blade-user/getUserRegisterStatisticsData',
+    method: 'get',
+  })
+}
\ No newline at end of file
diff --git a/src/views/wel/home.vue b/src/views/wel/home.vue
index 0cc500e..013ce0e 100644
--- a/src/views/wel/home.vue
+++ b/src/views/wel/home.vue
@@ -101,6 +101,7 @@
 import * as echarts from "echarts";
 
 import geojson from "@/geojson/nanchang.json";
+// import { getList } from "@api/home/home";
 
 export default {
   data() {
@@ -263,6 +264,9 @@
     onSixEcharts() {
       this.echarts1.clear();
       //改折线图
+      // getList.then((res) => {
+      //   console.log(res, 243423);
+      // });
       var option = {
         tooltip: {
           trigger: "axis",

--
Gitblit v1.9.3