Commit 60f62c66 by carrieyzzhang

login log

parent db67dd3c
......@@ -85,8 +85,9 @@ public class LoginController
Map<String, Object> rtnMap = Maps.newHashMap();
logger.info(email + "is login...");
Account account = loginService.login(email, password);
logger.info("login account:" + account.toString());
if (account != null) {
if(!account.getRoleCategory().equals(5L)) {
......
......@@ -55,8 +55,6 @@ public class LoginServiceImpl implements LoginService {
Account resultAccount = null;
Account queryAccount = accountRepository.findAccountByEmail(email);
logger.info("login email:{}, pwd:{}", email, pwd);
logger.info("login account:{}", queryAccount);
if (null != queryAccount) {
......@@ -76,7 +74,6 @@ public class LoginServiceImpl implements LoginService {
}
}
logger.info("authService.getOneAccount: {}", resultAccount);
}
return resultAccount;
......
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