routine update

This commit is contained in:
yubao
2018-03-19 22:24:20 +08:00
parent 25387d12f1
commit 37789838fa
8 changed files with 293 additions and 176 deletions

View File

@@ -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)