|
@@ -59,13 +59,6 @@ public class MobileLoginUserDetailService implements UserDetailsService {
|
|
|
loginUser.setType(1);
|
|
|
loginUser.setPermissionList(permissions);
|
|
|
|
|
|
- //查询物联网token
|
|
|
- String iotToken = iotService.getLoginIotToken("18800000001");
|
|
|
- if (iotToken != null) {
|
|
|
- loginUser.setIotToken(iotToken);
|
|
|
- }else {
|
|
|
- throw new UsernameNotFoundException("物联网平台无该账号");
|
|
|
- }
|
|
|
} else {
|
|
|
//站点管理员(多站点)
|
|
|
Site site = siteUserMapper.getSiteByUserId(user.getId());
|