mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 18:22:11 +08:00
routine update
This commit is contained in:
@@ -20,6 +20,27 @@ namespace OpenAuth.Mvc.Controllers
|
||||
return View();
|
||||
}
|
||||
|
||||
public ActionResult Edit()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
|
||||
|
||||
public string Get(string id)
|
||||
{
|
||||
try
|
||||
{
|
||||
var result = new Response<FlowInstance> { 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(FlowInstance obj)
|
||||
|
Reference in New Issue
Block a user