mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
feat(X-Pack): 创建组织、角色返回ID
This commit is contained in:
committed by
fit2cloud-chenyw
parent
c4fad7881f
commit
8b6a6eca12
@@ -37,7 +37,7 @@ public interface OrgApi {
|
||||
@Operation(summary = "创建")
|
||||
@DePermit({"m:read"})
|
||||
@PostMapping("/page/create")
|
||||
void create(@RequestBody OrgCreator creator);
|
||||
Long create(@RequestBody OrgCreator creator);
|
||||
|
||||
@Operation(summary = "编辑")
|
||||
@DePermit({"m:read", "#p0.id+':manage'"})
|
||||
|
||||
@@ -35,7 +35,7 @@ public interface RoleApi {
|
||||
@Operation(summary = "创建")
|
||||
@DePermit("m:read")
|
||||
@PostMapping("/create")
|
||||
void create(@RequestBody RoleCreator creator);
|
||||
Long create(@RequestBody RoleCreator creator);
|
||||
|
||||
@Operation(summary = "编辑")
|
||||
@DePermit({"m:read", "#p0.id + ':manage'"})
|
||||
|
||||
Reference in New Issue
Block a user