From 0474b8fd4f1b5fca25b7b8d72464fccb46ae9622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Fri, 9 Dec 2022 09:48:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/homepage.js | 8 ++++---- src/views/index.vue | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/api/system/homepage.js b/src/api/system/homepage.js index 0f571c5..c5021a6 100644 --- a/src/api/system/homepage.js +++ b/src/api/system/homepage.js @@ -1,16 +1,16 @@ import request from '@/utils/request' //最近一周每天的商品交易趋势 -export function selectGodWeekTransactionGoodsVO() { +export function getWeekGoodsTradeTrend () { return request({ - url: '/system/homeStatistics/selectGodWeekTransactionGoodsVO', + url: '/system/homeStatistics/getWeekGoodsTradeTrend ', method: 'get', }) } //首页新增最近一周每天的预约订单交易趋势 -export function selectAodWeekTransactionAppointmentOrderVO() { +export function getWeekTradeAppointmentTrend() { return request({ - url: '/system/homeStatistics/selectAodWeekTransactionAppointmentOrderVO', + url: '/system/homeStatistics/getWeekTradeAppointmentTrend', method: 'get', }) } diff --git a/src/views/index.vue b/src/views/index.vue index a01b868..016d26d 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -76,8 +76,8 @@ import { informationStatistics, summaryToday } from "@/api/system/index"; import * as echarts from "echarts"; import { - selectGodWeekTransactionGoodsVO, - selectAodWeekTransactionAppointmentOrderVO, + getWeekGoodsTradeTrend, + getWeekTradeAppointmentTrend, selectHotGoodsList, } from "@/api/system/homepage.js"; export default { @@ -113,7 +113,7 @@ export default { }); }, info() { - selectAodWeekTransactionAppointmentOrderVO().then((res) => { + getWeekTradeAppointmentTrend().then((res) => { if (res.code == 200) { var timedata = []; res.data.forEach((e) => { @@ -241,7 +241,7 @@ export default { } else { } }); - selectGodWeekTransactionGoodsVO().then((res) => { + getWeekGoodsTradeTrend().then((res) => { if (res.code == 200) { var timedata = []; res.data.forEach((e) => {