|
@@ -172,7 +172,7 @@ public class UserServiceImpl implements UserService {
|
|
|
}
|
|
|
|
|
|
|
|
|
- public void offline(String clientId, Integer userId, String status) {
|
|
|
+ public void offline(String clientId, Integer userId, Integer status) {
|
|
|
Collection<OAuth2AccessToken> c = tokenStore.findTokensByClientIdAndUserName(clientId, String.valueOf(userId));
|
|
|
System.out.println(c.size());
|
|
|
for (OAuth2AccessToken oAuth2AccessToken : c) {
|
|
@@ -219,7 +219,7 @@ public class UserServiceImpl implements UserService {
|
|
|
if(returnFlag){
|
|
|
return user;
|
|
|
}
|
|
|
- offline("smart-city-v2",user.getId(),"1");
|
|
|
+ offline("smart-city-v2",user.getId(),1);
|
|
|
|
|
|
|
|
|
getDataPermission(permission.getPermissionType(),user,programItems);
|