Commit 6ca21b68 by zhouhb

[+]代码提交

1 parent 2bdc7f0c
...@@ -107,10 +107,7 @@ public class UserAspect { ...@@ -107,10 +107,7 @@ public class UserAspect {
user.setRealname((String) session.getAttribute(Contants.USER_NAME)); user.setRealname((String) session.getAttribute(Contants.USER_NAME));
user.setId((Integer) session.getAttribute(Contants.USER_ID)); user.setId((Integer) session.getAttribute(Contants.USER_ID));
} else { } else {
user.setId(9); throw new RpcServiceException(DefaultErrorEnum.SERVER_ERROR);
user.setUsername("123456");
user.setRealname("超级管理员");
//throw new RpcServiceException(DefaultErrorEnum.SERVER_ERROR);
} }
merchantUser.setSource(Contants.SYSTEM_SOURCE_USER); merchantUser.setSource(Contants.SYSTEM_SOURCE_USER);
} else { } else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!