Compare commits
2 Commits
face3d5355
...
00b3d4cf5f
| Author | SHA1 | Date |
|---|---|---|
|
|
00b3d4cf5f | |
|
|
d30e1cd6e6 |
|
|
@ -148,6 +148,8 @@ public class AccountExecutor implements AccountApi {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public SingleResponse<Integer> checkTerminalType() {
|
public SingleResponse<Integer> checkTerminalType() {
|
||||||
|
log.info("同步用户信息:{}", AuthUserContextAdapter.getCurrentUser());
|
||||||
|
System.err.println(AuthUserContextAdapter.getCurrentUser());
|
||||||
AccountEntity accountEntity = accountDomainService.get(AuthUserContextAdapter.getCurrentUserId());
|
AccountEntity accountEntity = accountDomainService.get(AuthUserContextAdapter.getCurrentUserId());
|
||||||
if (accountEntity == null || accountEntity.getType() == null) {
|
if (accountEntity == null || accountEntity.getType() == null) {
|
||||||
throw new BizException(ErrorCode.ACCOUNT_NOT_FOUND);
|
throw new BizException(ErrorCode.ACCOUNT_NOT_FOUND);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue