Commit 5bc8f44a authored by shiyu's avatar shiyu

登录时间

parent c6d16928
...@@ -248,6 +248,7 @@ public class UserServiceImpl implements UserService { ...@@ -248,6 +248,7 @@ public class UserServiceImpl implements UserService {
result.put("isShop", false); result.put("isShop", false);
} }
} }
user.setLastLoginTime(new Date());
user.setUserLevel(userLevel); user.setUserLevel(userLevel);
//更新或插入登录的用户信息 //更新或插入登录的用户信息
userDao.insertByMapper(user); userDao.insertByMapper(user);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment