mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-06 04:18:07 +00:00
update 调整 默认关闭 elasticsearch 功能
This commit is contained in:
@@ -2,6 +2,7 @@ package com.ruoyi.common.elasticsearch.config;
|
||||
|
||||
import cn.easyes.starter.register.EsMapperScan;
|
||||
import org.springframework.boot.autoconfigure.AutoConfiguration;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
|
||||
/**
|
||||
* easy-es 配置
|
||||
@@ -9,6 +10,7 @@ import org.springframework.boot.autoconfigure.AutoConfiguration;
|
||||
* @author Lion Li
|
||||
*/
|
||||
@AutoConfiguration
|
||||
@ConditionalOnProperty(value = "easy-es.enable", havingValue = "true")
|
||||
@EsMapperScan("com.ruoyi.**.esmapper")
|
||||
public class EasyEsConfiguration {
|
||||
|
||||
|
Reference in New Issue
Block a user