|
@@ -119,12 +119,12 @@ public class EasSysStudentLoginServiceImpl implements EasSysStudentLoginService
|
|
|
catch (InvocationTargetException | IllegalAccessException ignored) {}
|
|
|
});
|
|
|
|
|
|
- userDetailPojo.setUserType(UserType.MEMBER);
|
|
|
+ userDetailPojo.setUserType(UserType.member);
|
|
|
// 生成token
|
|
|
JwtUserPojo jwtUserPojo = new JwtUserPojo(userDetailPojo.getUsername(),
|
|
|
- userDetailPojo.getId(), UserType.MEMBER, JwtType.TOKEN);
|
|
|
+ userDetailPojo.getId(), UserType.member, JwtType.TOKEN);
|
|
|
JwtUserPojo refJwtUserPojo = new JwtUserPojo(userDetailPojo.getUsername(),
|
|
|
- userDetailPojo.getId(), UserType.MEMBER, JwtType.REF_TOKEN);
|
|
|
+ userDetailPojo.getId(), UserType.member, JwtType.REF_TOKEN);
|
|
|
|
|
|
String token = jwtManager.createJwt(jwtUserPojo, token_expires);
|
|
|
|