mirror of
https://gitee.com/wangkang/udf.git
synced 2026-10-22 05:03:41 +00:00
更新博客
This commit is contained in:
@@ -138,13 +138,6 @@ public class XssStringJsonSerializer extends JsonSerializer<String> {
|
||||
在启动类中,创建XssObjectMapper的bean,替换spring boot原有的实例,用于整个系统的json转换.
|
||||
|
||||
``` java
|
||||
|
||||
/**
|
||||
* 描述 : xssObjectMapper
|
||||
*
|
||||
* @param builder builder
|
||||
* @return xssObjectMapper
|
||||
*/
|
||||
@Bean
|
||||
@Primary
|
||||
public ObjectMapper xssObjectMapper(Jackson2ObjectMapperBuilder builder) {
|
||||
|
||||
Reference in New Issue
Block a user