xiaoyong931011
2020-06-12 c7d94b1950e630b0fef5ea4c2cb2a6af92c8d140
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.xcong.excoin.configurations.i18n;
 
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.LocaleResolver;
 
 
/**
 * @author wzy
 * @date 2020-04-27 11:55
 **/
@Configuration
public class LocaleResolverConfig {
 
    @Bean
    public LocaleResolver localeResolver() {
        return new CustomLocaleResolver();
    }
}