From 4f3e227f703f905c6ee53e45a4f6620355cf70e4 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期五, 23 八月 2024 17:32:42 +0800 Subject: [PATCH] 调整 --- src/api/platform/home.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/api/platform/home.js b/src/api/platform/home.js index 3f6b747..55c25fa 100644 --- a/src/api/platform/home.js +++ b/src/api/platform/home.js @@ -51,9 +51,10 @@ } // 鏍哥畻鎶ヨ〃 -export function calculate() { +export function calculate(category) { return request({ url: '/home/calculate', - method: 'get' + method: 'get', + params: { category } }) } \ No newline at end of file -- Gitblit v1.8.0