Authored by fangyeqing

localaccount add create time

@@ -110,6 +110,7 @@ public class UserInfoController { @@ -110,6 +110,7 @@ public class UserInfoController {
110 user.setMemberId(memberEntity.getId()); 110 user.setMemberId(memberEntity.getId());
111 user.setLoginAccount(username); 111 user.setLoginAccount(username);
112 user.setLoginPwd(pass); 112 user.setLoginPwd(pass);
  113 + user.setCreateTime(UtilTools.getNow10Second());
113 user.setSalt(salt); 114 user.setSalt(salt);
114 user.setStatus(true); 115 user.setStatus(true);
115 userRepository.save(user); 116 userRepository.save(user);
@@ -19,6 +19,9 @@ public class User { @@ -19,6 +19,9 @@ public class User {
19 @Column(name = "login_pwd") 19 @Column(name = "login_pwd")
20 private String loginPwd; 20 private String loginPwd;
21 21
  22 + @Column(name="create_time")
  23 + private long createTime;
  24 +
22 //用户id 25 //用户id
23 @Id 26 @Id
24 @GeneratedValue 27 @GeneratedValue