-
我现在有个单独的业务系统采用的spring boot,想调用lamp-cloud的用户角色权限等相关的接口,比如调用localhost:8764/roleAuthority/1 (查询指定角色关联的菜单和资源)但是我发现调用的时候后台会执行SELECT id, authority_id, authority_type, role_id, create_time, created_by FROM c_role_authority WHERE (role_id = 1) AND c_role_authority.tenant_code = '' 这样的sql 缺少 租户编码值,这个租户编码值我要怎么传过去? |
Beta Was this translation helpful? Give feedback.
Answered by
zuihou
Oct 8, 2022
Replies: 2 comments 5 replies
-
|
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
zqb666
-
3.x 无 AuthenticationFilter, 由 lamp-security-sdk 通过注解控制 Controller 层权限 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ContextUtil.setTenantBasePoolName(basePoolName);
参数