解决 args 变量没有赋值导致的参数传递失败的问题。by Soar360大石头 authored at 2023-09-09 07:16:48
diff --git a/NewLife.Core/Remoting/ApiServer.cs b/NewLife.Core/Remoting/ApiServer.cs
index 21169cd..48ee793 100644
--- a/NewLife.Core/Remoting/ApiServer.cs
+++ b/NewLife.Core/Remoting/ApiServer.cs
@@ -213,6 +213,7 @@ public class ApiServer : ApiHost, IServer
{
message = enc.Decode(msg);
if (message == null) return null;
+ args = message.Data;
// 根据动作名,开始跟踪
span = Tracer?.NewSpan("rps:" + message.Action, args);