feat(X-Pack): 创建组织、角色返回ID

This commit is contained in:
fit2cloud-chenyw
2025-02-28 11:26:07 +08:00
committed by fit2cloud-chenyw
parent c4fad7881f
commit 8b6a6eca12
2 changed files with 2 additions and 2 deletions

View File

@@ -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'"})

View File

@@ -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'"})