long值为0返回空值

usertest
cjy 4 months ago
parent 88b6d8159d
commit 137a40c220

@ -45,6 +45,10 @@ public class JsonConverterLong : JsonConverter
{
if (value == null)
writer.WriteValue(value);
else if ((Int64)value == 0)
{
writer.WriteValue("");
}
else
writer.WriteValue(value + "");
}

Loading…
Cancel
Save