摘要: Fastjson的SerializerFeature序列化属性 QuoteFieldNames———-输出key时是否使用双引号,默认为true WriteMapNullValue——–是否输出值为null的字段,默认为false WriteNullNumberAsZero—-数值字段如果为null 阅读全文
posted @ 2022-09-29 17:34 Arborblog 阅读(4410) 评论(0) 推荐(0) 编辑
摘要: aaa 阅读全文
posted @ 2022-09-29 14:59 Arborblog 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 配置了异常accessDeniedHandler被全局异常捕获了不生效 //配置异常处理器 //认证失败处理器 http.exceptionHandling() .authenticationEntryPoint(authenticationEntryPoint) //授权失败处理器 .access 阅读全文
posted @ 2022-09-29 14:27 Arborblog 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 进行springSecurity和redis存储序列化,实现UserDetails 的方法后会对出几个属性 最后通过注解 @Bean public RedisTemplate<String, ?> redisTemplate(RedisConnectionFactory factory) { Str 阅读全文
posted @ 2022-09-29 11:28 Arborblog 阅读(1187) 评论(0) 推荐(0) 编辑