摘要: new JsonSerializerOptions { PropertyNamingPolicy = JsonNamingPolicy.CamelCase, //驼峰命名规则 Encoder = JavaScriptEncoder.Create( UnicodeRanges.BasicLatin,/ 阅读全文
posted @ 2024-07-26 18:02 turingguo 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 1、定义DelegatingHandler public class LoggingHandler : DelegatingHandler { private readonly ILogger<LoggingHandler> _logger; public LoggingHandler(ILogge 阅读全文
posted @ 2024-07-26 17:32 turingguo 阅读(77) 评论(0) 推荐(0) 编辑