瀏覽代碼

。。。。

wangwei 6 年之前
父節點
當前提交
de8befcbe5

+ 0 - 5
examcloud-core-basic-base/src/main/java/cn/com/qmth/examcloud/core/basic/base/enums/AccountType.java

@@ -14,11 +14,6 @@ public enum AccountType {
 	 */
 	STUDENT_CODE("学生学号"),
 
-	/**
-	 * 学生手机号
-	 */
-	STUDENT_PHONE_NUMBER("学生手机号"),
-
 	/**
 	 * 学生身份证号
 	 */

+ 2 - 2
examcloud-core-basic-service/src/main/java/cn/com/qmth/examcloud/core/basic/service/impl/AuthServiceImpl.java

@@ -206,9 +206,9 @@ public class AuthServiceImpl implements AuthService {
 		String userType = user.getUserType();
 		String key = null;
 		if (UserType.COMMON.getCode().equals(userType)) {
-			key = StringUtils.join("U_", userType, "_", rootOrgId, "_", user.getUserId());
+			key = StringUtil.join("U_", userType, "_", rootOrgId, "_", user.getUserId());
 		} else if (UserType.STUDENT.getCode().equals(userType)) {
-			key = StringUtils.join("U_", userType, "_", rootOrgId, "_", user.getStudentId());
+			key = StringUtil.join("U_", userType, "_", rootOrgId, "_", user.getStudentId());
 		}
 		return key;
 	}