From e7290cec178e4b6fe7257e3784cefdf7b3c01fb1 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期六, 31 八月 2024 17:45:51 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/api/platform/home.js |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/src/api/platform/home.js b/src/api/platform/home.js
index 92c3128..55c25fa 100644
--- a/src/api/platform/home.js
+++ b/src/api/platform/home.js
@@ -24,4 +24,37 @@
     method: 'get',
     params: data
   })
+}
+
+// 杩愮淮鍒版湡棰勮
+export function ywPoint() {
+  return request({
+    url: '/home/ywPoint',
+    method: 'get'
+  })
+}
+
+// 杩愮淮鍗曚綅瓒呮湡璐d换鏁版帓鍚�
+export function ywUnitCount() {
+  return request({
+    url: '/home/ywUnitCount',
+    method: 'get'
+  })
+}
+
+// 鑰冩牳棰勮
+export function checkScore() {
+  return request({
+    url: '/home/checkScore',
+    method: 'get'
+  })
+}
+
+// 鏍哥畻鎶ヨ〃
+export function calculate(category) {
+  return request({
+    url: '/home/calculate',
+    method: 'get',
+    params: { category }
+  })
 }
\ No newline at end of file

--
Gitblit v1.8.0