From 10ec0d1db5179d90a82e7d534cda6e9bcf597c08 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期日, 01 九月 2024 22:41:52 +0800
Subject: [PATCH] 报备功能优化

---
 src/api/platform/home.js |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/api/platform/home.js b/src/api/platform/home.js
index 77485e9..55c25fa 100644
--- a/src/api/platform/home.js
+++ b/src/api/platform/home.js
@@ -42,10 +42,19 @@
   })
 }
 
+// 鑰冩牳棰勮
+export function checkScore() {
+  return request({
+    url: '/home/checkScore',
+    method: 'get'
+  })
+}
+
 // 鏍哥畻鎶ヨ〃
-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