From ff3b5c2ba2a757f050cf833f1af340f384874934 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期四, 04 七月 2024 17:08:04 +0800
Subject: [PATCH] 教学资源加班级

---
 src/api/meet.js |   75 ++++++++++++++++++++-----------------
 1 files changed, 41 insertions(+), 34 deletions(-)

diff --git a/src/api/meet.js b/src/api/meet.js
index 72e9cc8..e5db7b1 100644
--- a/src/api/meet.js
+++ b/src/api/meet.js
@@ -1,61 +1,68 @@
-import axios from "./request";
+import axios from './request'
 
 // 鑾峰彇浼氳琛ㄥ垎椤�
 export const getMeets = (params) => {
-    return axios({
-        url: "/api/admin/meet/page",
-        method: "GET",
-        params: params
-    })
+  return axios({
+    url: '/api/admin/meet/page',
+    method: 'GET',
+    params: params
+  })
 }
 
 // 鑾峰彇浼氳琛ㄥ垪琛�
 export const getMeetList = () => {
-    return axios({
-        url: "/api/admin/meet/list",
-        method: "GET"
-    })
+  return axios({
+    url: '/api/admin/meet/list',
+    method: 'GET'
+  })
 }
 
 // 閫氳繃id鑾峰彇浼氳琛�
 export const getMeetById = (params) => {
-    return axios({
-        url: "/api/admin/meet/" + params,
-        method: "GET"
-    })
+  return axios({
+    url: '/api/admin/meet/' + params,
+    method: 'GET'
+  })
 }
 
 // 閫氳繃id鍒犻櫎浼氳琛�
 export const deleteMeetById = (params) => {
-    return axios({
-        url: "/api/admin/meet/" + params,
-        method: "DELETE"
-    })
+  return axios({
+    url: '/api/admin/meet/' + params,
+    method: 'DELETE'
+  })
 }
 
 // 鎵归噺鍒犻櫎浼氳琛�
 export const deleteMeetByIds = (params) => {
-    return axios({
-        url: "/api/admin/meet/batch",
-        method: "DELETE",
-        data: params
-    })
+  return axios({
+    url: '/api/admin/meet/batch',
+    method: 'DELETE',
+    data: params
+  })
 }
 
 // 淇敼浼氳琛�
 export const editMeet = (params) => {
-    return axios({
-        url: "/api/admin/meet/",
-        method: "PUT",
-        data: params
-    })
+  return axios({
+    url: '/api/admin/meet/',
+    method: 'PUT',
+    data: params
+  })
 }
-
+// 淇敼浼氳琛�
+export const startMeet = (params) => {
+  return axios({
+    url: '/api/admin/meet/start',
+    method: 'PUT',
+    data: params
+  })
+}
 // 娣诲姞浼氳琛�
 export const addMeet = (params) => {
-    return axios({
-        url: "/api/admin/meet/",
-        method: "POST",
-        data: params
-    })
+  return axios({
+    url: '/api/admin/meet/',
+    method: 'POST',
+    data: params
+  })
 }

--
Gitblit v1.8.0