提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.framework.dict.config; |
H |
2 |
|
|
3 |
import com.iailab.framework.dict.core.DictFrameworkUtils; |
|
4 |
import com.iailab.module.system.api.dict.DictDataApi; |
|
5 |
import org.springframework.boot.autoconfigure.AutoConfiguration; |
|
6 |
import org.springframework.context.annotation.Bean; |
|
7 |
|
|
8 |
@AutoConfiguration |
|
9 |
public class IailabDictAutoConfiguration { |
|
10 |
|
|
11 |
@Bean |
|
12 |
@SuppressWarnings("InstantiationOfUtilityClass") |
|
13 |
public DictFrameworkUtils dictUtils(DictDataApi dictDataApi) { |
|
14 |
DictFrameworkUtils.init(dictDataApi); |
|
15 |
return new DictFrameworkUtils(); |
|
16 |
} |
|
17 |
|
|
18 |
} |