【7.2.2】完善资源扫描汇报

pull/29/head
fengshuonan 2022-03-26 14:31:07 +08:00
parent 7d81728f19
commit a24094b40a
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@ public class ResourceReportListener extends ApplicationReadyListener implements
// 获取有没有开资源扫描开关
ScannerProperties scannerProperties = applicationContext.getBean(ScannerProperties.class);
if (!scannerProperties.getOpen()) {
// 设置已经扫描标识
InitScanFlagHolder.setFlag();
return;
}