From 3c6f12977253af97bda3b4eda7719f840836d1ed Mon Sep 17 00:00:00 2001 From: xioayue Date: Tue, 20 Jun 2023 11:11:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BD=91=E7=BB=9C=E8=AF=B7?= =?UTF-8?q?=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/home.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/api/home.js diff --git a/src/api/home.js b/src/api/home.js new file mode 100644 index 0000000..1535169 --- /dev/null +++ b/src/api/home.js @@ -0,0 +1,17 @@ +// 导入axios实例 +import request from '@/utils/request' + +// 定义接口的传参 +const api={ + // 日客流趋势 + daily_klqs:'index.php/allGroupTimeNum?granularity=daily' +} + +// 获取用户信息 +export function apiGetUserInfo() { + return httpRequest({ + url: 'your api url', + method: 'post', + data: param, + }) +}