Browse Source

去除物联网token

lin 4 years ago
parent
commit
12c209517c

+ 0 - 7
src/main/java/com/zoniot/ccrc/security/mobile/MobileLoginUserDetailService.java

@@ -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());