Views/Forms/Flow.ashx
(开头部分) 29KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ WebHandler Language="C#" Class="Flow" %>
using System;
using System.Web;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using MicroDBHelper;
using MicroPublicHelper;
using MicroUserHelper;
using MicroDTHelper;
using Newtonsoft.Json.Linq;
using MicroAuthHelper;
public class Flow : IHttpHandler, System.Web.SessionState.IRequiresSessionState
{
public void ProcessRequest(HttpContext context)
{
context.Response.ContentType = "text/plain";
MicroAuth.CheckLogin();
string flag = MicroPublic.GetMsg("ModifyFailed"),
Action = context.Server.UrlDecode(context.Request.Form["action"]),
MID = context.Server.UrlDecode(context.Request.Form["mid"]),
WFID = context.Server.UrlDecode(context.Request.Form["wfid"]),
Fields = context.Server.UrlDecode(context.Request.Form["fields"]);
Action = Action.ToLower();
if (Action == "add" && !string.IsNullOrEmpty(Fields))
flag = AddFlowNode(Fields);
if (Action == "add2" && !string.IsNullOrEmpty(Fields))
flag = AddFlowNode2(Fields);
if (Action == "modify" && !string.IsNullOrEmpty(Fields))
flag = ModifyFlowName(Fields);
if (Action == "del" && !string.IsNullOrEmpty(WFID))
flag = DelFlowNode(WFID);
if (Action == "modifynote" && !string.IsNullOrEmpty(Fields))
flag = ModifyNote(Fields);
context.Response.Write(flag);
}
/// <summary>
/// 添加流程节点,第一次时添加时同时添加流程名称和流程节点
/// </summary>
/// <param name="Fields"></param>
/// <returns></returns>
private string AddFlowNode(string Fields)
{
string flag = MicroPublic.GetMsg("AddFailed");
try
{
后面还有 603 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
