mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 18:47:55 +08:00
⚠️feat: 为前端穿梭框提供接口
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user