cn.foxtech.persist.common.config.PersistCommonConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fox-edge-server-persist-common Show documentation
Show all versions of fox-edge-server-persist-common Show documentation
fox-edge-server-persist-common
The newest version!
/* ----------------------------------------------------------------------------
* Copyright (c) Guangzhou Fox-Tech Co., Ltd. 2020-2024. All rights reserved.
* --------------------------------------------------------------------------- */
package cn.foxtech.persist.common.config;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
/**
* 告知Spring框架去扫描其他包中的Component
*/
@Configuration
@ComponentScan(basePackages = {//
"cn.foxtech.common.entity.service",//
"cn.foxtech.common.entity.manager",//
"cn.foxtech.utils.common.utils.redis.*",//
"cn.foxtech.common.rpc.redis.*",//
"cn.foxtech.common.rpc.cache",//
"cn.foxtech.common.status",//
"cn.foxtech.common.tags"//
})
@MapperScan("cn.foxtech.common.entity.service")
public class PersistCommonConfig {
}