From 7a0f60e7e27d45a0abf3499be2d63aafaf4ba3ed Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期三, 03 七月 2024 18:40:23 +0800
Subject: [PATCH] refactor:取消用户名长度限制
---
src/api/subject.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/api/subject.js b/src/api/subject.js
index 124c6a3..5992d99 100644
--- a/src/api/subject.js
+++ b/src/api/subject.js
@@ -1,9 +1,10 @@
-import { post } from '@/utils/request'
+import { post, get } from '@/utils/request'
export default {
list: query => post('/api/admin/education/subject/list'),
pageList: query => post('/api/admin/education/subject/page', query),
edit: query => post('/api/admin/education/subject/edit', query),
select: id => post('/api/admin/education/subject/select/' + id),
+ selectByDeptId: deptId => get('/api/admin/education/subject/select/dept/' + deptId),
deleteSubject: id => post('/api/admin/education/subject/delete/' + id)
}
--
Gitblit v1.8.0