mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 02:29:24 +08:00
修改界面,重构授权代码
This commit is contained in:
@@ -95,13 +95,14 @@ namespace OpenAuth.Mvc.Controllers
|
||||
return JsonHelper.Instance.Serialize(Result);
|
||||
}
|
||||
|
||||
public string Delete(string Id)
|
||||
[HttpPost]
|
||||
public string Delete(Guid[] ids)
|
||||
{
|
||||
try
|
||||
{
|
||||
foreach (var obj in Id.Split(','))
|
||||
foreach (var obj in ids)
|
||||
{
|
||||
_app.Delete(Guid.Parse(obj));
|
||||
_app.Delete(obj);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
Reference in New Issue
Block a user