From c83278c4afd1251b0646b506fd59a59a7f502165 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期一, 16 十二月 2024 10:42:44 +0800
Subject: [PATCH] 班级接口添加

---
 assets/js/config.js                    |   11 ++++++++++-
 assets/js/middleGround/api/edu.js      |   30 ++++++++++++++++++++----------
 assets/js/middleGround/api/identity.js |    8 ++++++++
 3 files changed, 38 insertions(+), 11 deletions(-)

diff --git a/assets/js/config.js b/assets/js/config.js
index cff2b6a..1ee9413 100644
--- a/assets/js/config.js
+++ b/assets/js/config.js
@@ -25,6 +25,14 @@
   /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/; // 鐢佃瘽鍙锋鍒�
 export const reg_telphone = /^0\d{2}-\d{8}$|^0\d{3}-\d{7}$/; //搴ф満鍙锋鍒�
 export const shareUrl = "https://jsek.bnuic.com/QRCodePorject/#/otherJumpPage"; //寰俊鍒嗕韩杩涘叆灏忕▼搴�
+// 鑷畾涔塺efCode
+const refCodes = {
+  message: 'MessageCode', // 娑堟伅銆侀�氱煡
+  talk: 'TalkCode', // 璇濋
+  teachingPlan: 'jsek_teachingPlan', // 鏁欏璁″垝绫诲瀷
+  homework: 'homework', // 鏂板缓浣滀笟绫诲瀷
+  teachInteraction: 'TeachInteraction' //鏁欏浜掑姩
+}
 const config = {
   requestCtx,
   requestTimeOut,
@@ -43,6 +51,7 @@
   pdfUrl,
   appId,
   textReaderUrl,
-  shareUrl
+  shareUrl,
+  refCodes
 };
 export default config;
\ No newline at end of file
diff --git a/assets/js/middleGround/api/edu.js b/assets/js/middleGround/api/edu.js
index 70cfeff..635a1b3 100644
--- a/assets/js/middleGround/api/edu.js
+++ b/assets/js/middleGround/api/edu.js
@@ -1,5 +1,7 @@
 import request from "../../../request/index";
-import { handleQueryResourceListData } from '../tool'
+import {
+  handleQueryResourceListData
+} from '../tool'
 const eduApi = {
   // 鑾峰彇鍟嗗搧涓嬬殑缁勫嵎绛栫暐
   getQuizConfigListByProduct(data) {
@@ -161,14 +163,22 @@
       data,
     })
   },
-    // 鑾峰彇topic淇℃伅
-    getClassTopic(data) {
-      return request({
-        url: '/edu/api/ApiGetClassTopic',
-        method: 'post',
-        data
-      })
-    },
+  // 鑾峰彇topic淇℃伅
+  getClassTopic(data) {
+    return request({
+      url: '/edu/api/ApiGetClassTopic',
+      method: 'post',
+      data
+    })
+  },
+  // 鑾峰彇鐝骇璇︽儏
+  getCourseClass(data) {
+    return request({
+      url: '/edu/api/ApiGetCourseClass',
+      method: 'post',
+      data
+    })
+  },
 }
 
-export default eduApi
+export default eduApi
\ No newline at end of file
diff --git a/assets/js/middleGround/api/identity.js b/assets/js/middleGround/api/identity.js
index ab59fa0..df321c7 100644
--- a/assets/js/middleGround/api/identity.js
+++ b/assets/js/middleGround/api/identity.js
@@ -217,6 +217,14 @@
       data
     })
   },
+  // 鑾峰彇缁勬垨鐝骇鎴愬憳
+  getGroupUserList(data) {
+    return request({
+      url: '/identity/api/ApiGetGroupUserList',
+      method: 'post',
+      data
+    })
+  },
 };
 
 export default identityApi;
\ No newline at end of file

--
Gitblit v1.9.1