From bad2f260816bf6c39041f2c96410682624aa3ae5 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 27 五月 2024 11:10:14 +0800
Subject: [PATCH] 编辑试卷时返回用户名

---
 src/main/java/com/mindskip/xzs/domain/enums/RoleEnum.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/mindskip/xzs/domain/enums/RoleEnum.java b/src/main/java/com/mindskip/xzs/domain/enums/RoleEnum.java
index a5fa365..eddee89 100644
--- a/src/main/java/com/mindskip/xzs/domain/enums/RoleEnum.java
+++ b/src/main/java/com/mindskip/xzs/domain/enums/RoleEnum.java
@@ -7,7 +7,8 @@
 public enum RoleEnum {
 
     STUDENT(1, "STUDENT"),
-    ADMIN(3, "ADMIN");
+    ADMIN(3, "ADMIN"),
+    DEPT_ADMIN(-1, "DEPT_ADMIN");
 
     int code;
     String name;

--
Gitblit v1.8.0