Commit ee2b44d5 authored by 潘栩锋's avatar 潘栩锋 🚴

修复 FObjBaseReflect/Reflect_Proxy.cs Call 返回null数据时,会出错

parent 8778f464
...@@ -319,7 +319,7 @@ namespace FObjBase.Reflect ...@@ -319,7 +319,7 @@ namespace FObjBase.Reflect
var rData = new Reflect_OBJ_INTERFACE.ReflectData() var rData = new Reflect_OBJ_INTERFACE.ReflectData()
{ {
name = cc.methodName, name = cc.methodName,
data = JToken.FromObject(retData) data = retData==null?null:JToken.FromObject(retData)
}; };
string json = JsonConvert.SerializeObject(rData); string json = JsonConvert.SerializeObject(rData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment