From 95c3476ba65f5ec2c9a7b4834fccbddc730630e6 Mon Sep 17 00:00:00 2001
From: lohir <3399054449@qq.com>
Date: 星期三, 23 十月 2024 17:35:54 +0800
Subject: [PATCH] 白名单按钮样式统一

---
 src/api/platform/home.js |   44 ++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 40 insertions(+), 4 deletions(-)

diff --git a/src/api/platform/home.js b/src/api/platform/home.js
index 77485e9..7198b74 100644
--- a/src/api/platform/home.js
+++ b/src/api/platform/home.js
@@ -1,5 +1,32 @@
 import request from '@/utils/request'
 
+// 杩愮淮鐩戞帶鎶ヨ〃
+export function video(data) {
+  return request({
+    url: '/home/video',
+    method: 'get',
+    params: data
+  })
+}
+
+// 杩愮淮鐩戞帶鎶ヨ〃
+export function car(data) {
+  return request({
+    url: '/home/car',
+    method: 'get',
+    params: data
+  })
+}
+
+// 杩愮淮鐩戞帶鎶ヨ〃
+export function face(data) {
+  return request({
+    url: '/home/face',
+    method: 'get',
+    params: data
+  })
+}
+
 // 杩愮淮鍏徃涓嬫媺
 export function ywUnitList() {
   return request({
@@ -42,10 +69,19 @@
   })
 }
 
-// 鏍哥畻鎶ヨ〃
-export function calculate() {
+// 鑰冩牳棰勮
+export function checkScore() {
   return request({
-    url: '/home/calculate',
+    url: '/home/checkScore',
     method: 'get'
   })
-}
\ No newline at end of file
+}
+
+// 鏍哥畻鎶ヨ〃
+export function calculate(category) {
+  return request({
+    url: '/home/calculate',
+    method: 'get',
+    params: { category }
+  })
+}

--
Gitblit v1.8.0