Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzuaa
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzuaa
提交
830a1825
提交
830a1825
编写于
6月 24, 2020
作者:
sq3536
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/master'
上级
eb01f2ed
de88c851
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
22 行增加
和
20 行删除
+22
-20
SysAppResource.java
...api/src/main/java/cn/ibizlab/api/rest/SysAppResource.java
+2
-0
SysAuthLogResource.java
...src/main/java/cn/ibizlab/api/rest/SysAuthLogResource.java
+2
-2
SysPermissionResource.java
.../main/java/cn/ibizlab/api/rest/SysPermissionResource.java
+2
-2
SysRolePermissionResource.java
...n/java/cn/ibizlab/api/rest/SysRolePermissionResource.java
+6
-6
SysRoleResource.java
...pi/src/main/java/cn/ibizlab/api/rest/SysRoleResource.java
+2
-2
SysUserResource.java
...pi/src/main/java/cn/ibizlab/api/rest/SysUserResource.java
+2
-2
SysUserRoleResource.java
...rc/main/java/cn/ibizlab/api/rest/SysUserRoleResource.java
+6
-6
未找到文件。
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SysAppResource.java
浏览文件 @
830a1825
...
...
@@ -128,6 +128,7 @@ public class SysAppResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysApp-searchDefault-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"应用"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysapps/fetchdefault"
)
public
ResponseEntity
<
List
<
SysAppDTO
>>
fetchDefault
(
SysAppSearchContext
context
)
{
...
...
@@ -140,6 +141,7 @@ public class SysAppResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysApp-searchDefault-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"应用"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysapps/searchdefault"
)
public
ResponseEntity
<
Page
<
SysAppDTO
>>
searchDefault
(
@RequestBody
SysAppSearchContext
context
)
{
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SysAuthLogResource.java
浏览文件 @
830a1825
...
...
@@ -137,7 +137,7 @@ public class SysAuthLogResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysAuthLog-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysAuthLog-
search
Default-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"认证日志"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysauthlogs/fetchdefault"
)
public
ResponseEntity
<
List
<
SysAuthLogDTO
>>
fetchDefault
(
SysAuthLogSearchContext
context
)
{
...
...
@@ -150,7 +150,7 @@ public class SysAuthLogResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysAuthLog-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysAuthLog-
search
Default-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"认证日志"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysauthlogs/searchdefault"
)
public
ResponseEntity
<
Page
<
SysAuthLogDTO
>>
searchDefault
(
@RequestBody
SysAuthLogSearchContext
context
)
{
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SysPermissionResource.java
浏览文件 @
830a1825
...
...
@@ -137,7 +137,7 @@ public class SysPermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysPermission-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysPermission-
search
Default-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"权限/资源"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/syspermissions/fetchdefault"
)
public
ResponseEntity
<
List
<
SysPermissionDTO
>>
fetchDefault
(
SysPermissionSearchContext
context
)
{
...
...
@@ -150,7 +150,7 @@ public class SysPermissionResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysPermission-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysPermission-
search
Default-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"权限/资源"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/syspermissions/searchdefault"
)
public
ResponseEntity
<
Page
<
SysPermissionDTO
>>
searchDefault
(
@RequestBody
SysPermissionSearchContext
context
)
{
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SysRolePermissionResource.java
浏览文件 @
830a1825
...
...
@@ -137,7 +137,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysRolePermission-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysRolePermission-
search
Default-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"角色权限关系"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysrolepermissions/fetchdefault"
)
public
ResponseEntity
<
List
<
SysRolePermissionDTO
>>
fetchDefault
(
SysRolePermissionSearchContext
context
)
{
...
...
@@ -150,7 +150,7 @@ public class SysRolePermissionResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysRolePermission-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysRolePermission-
search
Default-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"角色权限关系"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysrolepermissions/searchdefault"
)
public
ResponseEntity
<
Page
<
SysRolePermissionDTO
>>
searchDefault
(
@RequestBody
SysRolePermissionSearchContext
context
)
{
...
...
@@ -267,7 +267,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysRolePermission-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysRolePermission-
search
Default-all')"
)
@ApiOperation
(
value
=
"根据权限/资源获取DEFAULT"
,
tags
=
{
"角色权限关系"
}
,
notes
=
"根据权限/资源获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/syspermissions/{syspermission_id}/sysrolepermissions/fetchdefault"
)
public
ResponseEntity
<
List
<
SysRolePermissionDTO
>>
fetchSysRolePermissionDefaultBySysPermission
(
@PathVariable
(
"syspermission_id"
)
String
syspermission_id
,
SysRolePermissionSearchContext
context
)
{
...
...
@@ -281,7 +281,7 @@ public class SysRolePermissionResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysRolePermission-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysRolePermission-
search
Default-all')"
)
@ApiOperation
(
value
=
"根据权限/资源查询DEFAULT"
,
tags
=
{
"角色权限关系"
}
,
notes
=
"根据权限/资源查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/syspermissions/{syspermission_id}/sysrolepermissions/searchdefault"
)
public
ResponseEntity
<
Page
<
SysRolePermissionDTO
>>
searchSysRolePermissionDefaultBySysPermission
(
@PathVariable
(
"syspermission_id"
)
String
syspermission_id
,
@RequestBody
SysRolePermissionSearchContext
context
)
{
...
...
@@ -399,7 +399,7 @@ public class SysRolePermissionResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysRolePermission-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysRolePermission-
search
Default-all')"
)
@ApiOperation
(
value
=
"根据系统角色获取DEFAULT"
,
tags
=
{
"角色权限关系"
}
,
notes
=
"根据系统角色获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysroles/{sysrole_id}/sysrolepermissions/fetchdefault"
)
public
ResponseEntity
<
List
<
SysRolePermissionDTO
>>
fetchSysRolePermissionDefaultBySysRole
(
@PathVariable
(
"sysrole_id"
)
String
sysrole_id
,
SysRolePermissionSearchContext
context
)
{
...
...
@@ -413,7 +413,7 @@ public class SysRolePermissionResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysRolePermission-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysRolePermission-
search
Default-all')"
)
@ApiOperation
(
value
=
"根据系统角色查询DEFAULT"
,
tags
=
{
"角色权限关系"
}
,
notes
=
"根据系统角色查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysroles/{sysrole_id}/sysrolepermissions/searchdefault"
)
public
ResponseEntity
<
Page
<
SysRolePermissionDTO
>>
searchSysRolePermissionDefaultBySysRole
(
@PathVariable
(
"sysrole_id"
)
String
sysrole_id
,
@RequestBody
SysRolePermissionSearchContext
context
)
{
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SysRoleResource.java
浏览文件 @
830a1825
...
...
@@ -137,7 +137,7 @@ public class SysRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysroleService
.
checkKey
(
sysroleMapping
.
toDomain
(
sysroledto
)));
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysRole-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysRole-
search
Default-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"系统角色"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysroles/fetchdefault"
)
public
ResponseEntity
<
List
<
SysRoleDTO
>>
fetchDefault
(
SysRoleSearchContext
context
)
{
...
...
@@ -150,7 +150,7 @@ public class SysRoleResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysRole-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysRole-
search
Default-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"系统角色"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysroles/searchdefault"
)
public
ResponseEntity
<
Page
<
SysRoleDTO
>>
searchDefault
(
@RequestBody
SysRoleSearchContext
context
)
{
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SysUserResource.java
浏览文件 @
830a1825
...
...
@@ -137,7 +137,7 @@ public class SysUserResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysUser-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysUser-
search
Default-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"系统用户"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysusers/fetchdefault"
)
public
ResponseEntity
<
List
<
SysUserDTO
>>
fetchDefault
(
SysUserSearchContext
context
)
{
...
...
@@ -150,7 +150,7 @@ public class SysUserResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysUser-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysUser-
search
Default-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"系统用户"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysusers/searchdefault"
)
public
ResponseEntity
<
Page
<
SysUserDTO
>>
searchDefault
(
@RequestBody
SysUserSearchContext
context
)
{
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SysUserRoleResource.java
浏览文件 @
830a1825
...
...
@@ -137,7 +137,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysUserRole-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysUserRole-
search
Default-all')"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"用户角色关系"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysuserroles/fetchdefault"
)
public
ResponseEntity
<
List
<
SysUserRoleDTO
>>
fetchDefault
(
SysUserRoleSearchContext
context
)
{
...
...
@@ -150,7 +150,7 @@ public class SysUserRoleResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysUserRole-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysUserRole-
search
Default-all')"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"用户角色关系"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysuserroles/searchdefault"
)
public
ResponseEntity
<
Page
<
SysUserRoleDTO
>>
searchDefault
(
@RequestBody
SysUserRoleSearchContext
context
)
{
...
...
@@ -267,7 +267,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysUserRole-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysUserRole-
search
Default-all')"
)
@ApiOperation
(
value
=
"根据系统角色获取DEFAULT"
,
tags
=
{
"用户角色关系"
}
,
notes
=
"根据系统角色获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysroles/{sysrole_id}/sysuserroles/fetchdefault"
)
public
ResponseEntity
<
List
<
SysUserRoleDTO
>>
fetchSysUserRoleDefaultBySysRole
(
@PathVariable
(
"sysrole_id"
)
String
sysrole_id
,
SysUserRoleSearchContext
context
)
{
...
...
@@ -281,7 +281,7 @@ public class SysUserRoleResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysUserRole-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysUserRole-
search
Default-all')"
)
@ApiOperation
(
value
=
"根据系统角色查询DEFAULT"
,
tags
=
{
"用户角色关系"
}
,
notes
=
"根据系统角色查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysroles/{sysrole_id}/sysuserroles/searchdefault"
)
public
ResponseEntity
<
Page
<
SysUserRoleDTO
>>
searchSysUserRoleDefaultBySysRole
(
@PathVariable
(
"sysrole_id"
)
String
sysrole_id
,
@RequestBody
SysUserRoleSearchContext
context
)
{
...
...
@@ -399,7 +399,7 @@ public class SysUserRoleResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysUserRole-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysUserRole-
search
Default-all')"
)
@ApiOperation
(
value
=
"根据系统用户获取DEFAULT"
,
tags
=
{
"用户角色关系"
}
,
notes
=
"根据系统用户获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysusers/{sysuser_id}/sysuserroles/fetchdefault"
)
public
ResponseEntity
<
List
<
SysUserRoleDTO
>>
fetchSysUserRoleDefaultBySysUser
(
@PathVariable
(
"sysuser_id"
)
String
sysuser_id
,
SysUserRoleSearchContext
context
)
{
...
...
@@ -413,7 +413,7 @@ public class SysUserRoleResource {
.
body
(
list
);
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysUserRole-Default-all')"
)
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SysUserRole-
search
Default-all')"
)
@ApiOperation
(
value
=
"根据系统用户查询DEFAULT"
,
tags
=
{
"用户角色关系"
}
,
notes
=
"根据系统用户查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysusers/{sysuser_id}/sysuserroles/searchdefault"
)
public
ResponseEntity
<
Page
<
SysUserRoleDTO
>>
searchSysUserRoleDefaultBySysUser
(
@PathVariable
(
"sysuser_id"
)
String
sysuser_id
,
@RequestBody
SysUserRoleSearchContext
context
)
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录