mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-03 00:00:49 +08:00
1. Serein.Proto.WebSocket项目中,ws方法入参新增了对于使用流程上下文作为参数的识别
This commit is contained in:
@@ -254,6 +254,12 @@ namespace Serein.Proto.WebSocket.Handle
|
||||
args[i] = data;
|
||||
}
|
||||
#endregion
|
||||
#region 传递上下文
|
||||
else if (config.UseContent[i])
|
||||
{
|
||||
args[i] = context;
|
||||
}
|
||||
#endregion
|
||||
#region 传递消息委托
|
||||
else if (config.IsNeedSendDelegate[i]) // 传递SendAsync委托
|
||||
{
|
||||
@@ -308,6 +314,7 @@ namespace Serein.Proto.WebSocket.Handle
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
if (!isCanInvoke)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user