update 初始化数据转移到 ApplicationRunner 统一处理

This commit is contained in:
疯狂的狮子li 2021-11-24 10:59:18 +08:00
parent c364836a9d
commit 1f3ef4ffe1

View File

@ -11,6 +11,11 @@ import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;
/**
* 初始化 system 模块对应业务数据
*
* @author Lion Li
*/
@Slf4j
@RequiredArgsConstructor(onConstructor_ = @Autowired)
@Component