IntelligentRecognition/ah-jjsp-service/.svn/pristine/f4/f4029f1d02f36584e4b7e8a8b4f...

23 lines
550 B
Plaintext
Raw Normal View History

2024-05-24 16:09:40 +08:00
package com.securityControl.common.security.config;
import java.util.TimeZone;
import org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer;
import org.springframework.context.annotation.Bean;
/**
* 系统配置
*
* @author czc
*/
public class ApplicationConfig
{
/**
* 时区配置
*/
@Bean
public Jackson2ObjectMapperBuilderCustomizer jacksonObjectMapperCustomization()
{
return jacksonObjectMapperBuilder -> jacksonObjectMapperBuilder.timeZone(TimeZone.getDefault());
}
}