⚠️feat: 为前端穿梭框提供接口

This commit is contained in:
yubaolee
2025-07-23 17:50:55 +08:00
parent 87866d08fb
commit 33cc0b1e3b
2 changed files with 13 additions and 0 deletions

View File

@@ -70,6 +70,14 @@ namespace OpenAuth.WebApi.Controllers
return resp;
}
[HttpPost]
public Response<List<SysResource>> LoadByIds([FromBody]string[] ids)
{
var result = new Response<List<SysResource>>();
result.Data = _app.LoadByIds(ids);
return result;
}
[HttpPost]
public Response<string> Add([FromBody] AddOrUpdateResReq obj)
{