| 1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.Web.SessionState;
- namespace WebForm.Platform.WorkFlowDesigner
- {
- /// <summary>
- /// Save 的摘要说明
- /// </summary>
- public class Save : IHttpHandler, IReadOnlySessionState
- {
- public void ProcessRequest(HttpContext context)
- {
- context.Response.ContentType = "text/plain";
- string json = context.Request.Form["json"];
- string msg = new RoadFlow.Platform.WorkFlow().SaveFlow(json);
- RoadFlow.Platform.Log.Add("保存了流程", json + "(" + msg + ")", RoadFlow.Platform.Log.Types.流程相关);
- context.Response.Write(msg);
- }
- public bool IsReusable
- {
- get
- {
- return false;
- }
- }
- }
- }
|