hsy
2026-08-18 c5bce61891af2d9f43f7e8615fa31cd54a2c8cba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package cn.iocoder.yudao.framework.dict.config;
 
import cn.iocoder.yudao.framework.common.biz.system.dict.DictDataCommonApi;
import cn.iocoder.yudao.framework.dict.core.DictFrameworkUtils;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;
 
@AutoConfiguration
public class YudaoDictAutoConfiguration {
 
    @Bean
    @SuppressWarnings("InstantiationOfUtilityClass")
    public DictFrameworkUtils dictUtils(DictDataCommonApi dictDataApi) {
        DictFrameworkUtils.init(dictDataApi);
        return new DictFrameworkUtils();
    }
 
}