摘要: Asp.NET core /net 5接口返回实体含有long/int64的属性时,序列后最后几位变为0的。 不得不吐槽一下MS,这种事还有问题,NND。 解决方案在startup.cs中添加:options.JsonSerializerOptions.NumberHandling = JsonNu 阅读全文
posted @ 2021-11-18 14:00 sun51586 阅读(276) 评论(0) 推荐(0) 编辑