mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 10:08:04 +08:00
routine update
This commit is contained in:
@@ -31,6 +31,21 @@ namespace OpenAuth.Mvc.Controllers
|
||||
return View();
|
||||
}
|
||||
|
||||
public string Get(string id)
|
||||
{
|
||||
try
|
||||
{
|
||||
var result = new Response<FlowScheme> {Result = App.Get(id)};
|
||||
return JsonHelper.Instance.Serialize(result);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Result.Code = 500;
|
||||
Result.Message = ex.Message;
|
||||
}
|
||||
return JsonHelper.Instance.Serialize(Result);
|
||||
}
|
||||
|
||||
//添加或修改
|
||||
[System.Web.Mvc.HttpPost]
|
||||
public string Add(FlowScheme obj)
|
||||
|
Reference in New Issue
Block a user