From 6935747f1dd5bffef8aedb133094bce34d620df5 Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Tue, 15 Sep 2020 15:08:33 +0800
Subject: [PATCH] update
---
src/main/java/com/moral/entity/Account.java | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/moral/entity/Account.java b/src/main/java/com/moral/entity/Account.java
index 1498df9..18e66a6 100644
--- a/src/main/java/com/moral/entity/Account.java
+++ b/src/main/java/com/moral/entity/Account.java
@@ -74,11 +74,13 @@
private String userName;
@Transient
+ private JwtTokenVersion jwtTokenVersion;
+ @Transient
private List<Role> Roles;
// TODO ������������
public List<Role> getRoles(){
Role role = new Role();
- role.setName("temp");
+ role.setRoleName("temp");
return Arrays.asList(role);
}
@Transient
--
Gitblit v1.8.0