|
@@ -3,6 +3,9 @@ package com.ningdatech.pmapi.user.util; |
|
|
import com.ningdatech.basic.auth.AbstractLoginUserUtil; |
|
|
import com.ningdatech.basic.auth.AbstractLoginUserUtil; |
|
|
import com.ningdatech.pmapi.user.security.auth.model.UserInfoDetails; |
|
|
import com.ningdatech.pmapi.user.security.auth.model.UserInfoDetails; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Author liuxinxin |
|
|
* @Author liuxinxin |
|
@@ -15,4 +18,10 @@ public class LoginUserUtil extends AbstractLoginUserUtil { |
|
|
return getLoginUserPrincipal(); |
|
|
return getLoginUserPrincipal(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static List<Long> getRoleIdList() { |
|
|
|
|
|
List<Long> roleIdList = new ArrayList<>(); |
|
|
|
|
|
roleIdList.add(1L); |
|
|
|
|
|
return roleIdList; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |