From f3ac0bb511f5657047314c495c07d4e2a0ddfb39 Mon Sep 17 00:00:00 2001
From: Echo <1711788888@qq.com>
Date: Tue, 2 Sep 2025 20:32:26 +0800
Subject: [PATCH] =?UTF-8?q?:art:=20=20=E5=AE=8C=E5=96=84=E8=AE=A2=E5=8D=95?=
=?UTF-8?q?=E9=A1=B5=E5=92=8C=E7=94=A8=E6=88=B7=E9=A1=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/user/index.js | 19 +++++++++++++++++++
src/pathInfo.json | 1 +
src/plugin/customerservice/view/index.vue | 9 ++-------
src/plugin/picturelibrary/view/index.vue | 10 ----------
vite.config.js | 2 +-
5 files changed, 23 insertions(+), 18 deletions(-)
diff --git a/src/api/user/index.js b/src/api/user/index.js
index e794d06..ebd6abb 100644
--- a/src/api/user/index.js
+++ b/src/api/user/index.js
@@ -47,3 +47,22 @@ export const setBalance = (data) => {
data
})
}
+
+
+// 获取讲师申请列表
+export const getTeacherApplyList = (params) => {
+ return service({
+ url: '/app_user/teacherApplyList',
+ method: 'get',
+ params
+ })
+}
+
+// 讲师申请审核
+export const reviewTeacherApply = (data) => {
+ return service({
+ url: '/app_user/teacherApply/status',
+ method: 'put',
+ data
+ })
+}
diff --git a/src/pathInfo.json b/src/pathInfo.json
index 79a7aea..e688821 100644
--- a/src/pathInfo.json
+++ b/src/pathInfo.json
@@ -78,6 +78,7 @@
"/src/view/systemTools/system/system.vue": "Config",
"/src/view/user/index.vue": "UserManage",
"/src/view/user/user/index.vue": "Index",
+ "/src/view/user/user/teacherApply.vue": "TeacherApply",
"/src/plugin/announcement/form/info.vue": "InfoForm",
"/src/plugin/announcement/view/info.vue": "Info",
"/src/plugin/customerservice/view/chat/index.vue": "ServiceMain",
diff --git a/src/plugin/customerservice/view/index.vue b/src/plugin/customerservice/view/index.vue
index 0e185fc..1930b15 100644
--- a/src/plugin/customerservice/view/index.vue
+++ b/src/plugin/customerservice/view/index.vue
@@ -6,7 +6,7 @@
diff --git a/src/plugin/picturelibrary/view/index.vue b/src/plugin/picturelibrary/view/index.vue
index 363e702..29ff0ec 100644
--- a/src/plugin/picturelibrary/view/index.vue
+++ b/src/plugin/picturelibrary/view/index.vue
@@ -6,22 +6,12 @@