mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
web socket添加token验证能力(使用token+创建时设置验证回调);flowEnv添加WebSocket处理消息能力,下一步将开发远程登录登录工具。
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>1.0.0</Version>
|
||||
<TargetFrameworks>net8.0</TargetFrameworks>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
|
||||
@@ -34,14 +34,6 @@ namespace SereinFlowRemoteManagement
|
||||
public SereinFlowRemoteControl(IFlowEnvironment environment)
|
||||
{
|
||||
this.environment = environment;
|
||||
//if (environment is FlowEnvironment env)
|
||||
//{
|
||||
// this.environment = env;
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// throw new Exception();
|
||||
//}
|
||||
}
|
||||
|
||||
[NodeAction(NodeType.Init)]
|
||||
@@ -153,7 +145,7 @@ namespace SereinFlowRemoteManagement
|
||||
throw new InvalidOperationException("Guid错误");
|
||||
}
|
||||
|
||||
await environment.StartFlowInSelectNodeAsync(nodeGuid);
|
||||
await environment.StartAsyncInSelectNode(nodeGuid);
|
||||
|
||||
await Send(new
|
||||
{
|
||||
@@ -172,7 +164,7 @@ namespace SereinFlowRemoteManagement
|
||||
return environment.GetProjectInfo();
|
||||
}
|
||||
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user