|
@@ -18,6 +18,7 @@ import com.qmth.teachcloud.common.service.CommonCacheService;
|
|
|
import com.qmth.teachcloud.common.util.*;
|
|
|
import org.apache.commons.codec.digest.DigestUtils;
|
|
|
import org.apache.commons.io.IOUtils;
|
|
|
+import org.apache.commons.lang3.ArrayUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
@@ -309,6 +310,7 @@ public class SystemConstant {
|
|
|
public static final String PARENT_ORG = "教务处";
|
|
|
public static final String SCHOOL_CODE = "wdfx";
|
|
|
public static final String ADMIN_CODE = "admin";
|
|
|
+ public static final List<String> ADMIN_CODE_LIST = (List<String>) ArrayUtils.toPrimitive(Arrays.asList("admin", "admin-teachcloud"));
|
|
|
public static final String AUTH = "auth";//命题老师id
|
|
|
// public static final int MAX_RETRY_CREATE_PDF_COUNT = 5;
|
|
|
//英文字母、数字、中文括号、英文括号、下划线(_)、减号(-)、中文横线(—)
|