|
|
@ -164,7 +164,7 @@ public class AdminController { |
|
|
|
} |
|
|
|
|
|
|
|
private boolean noDemoAccount(UserLoginParam param) { |
|
|
|
CerePlatformUser user = cerePlatformUserService.findById(1L); |
|
|
|
CerePlatformUser user = cerePlatformUserService.findByPhone(param.getUsername()); |
|
|
|
if (user.getPhone().equals(param.getUsername())) { |
|
|
|
return false; |
|
|
|
} |
|
|
|