package cc.smtweb.system.canal.deployer;

import cc.smtweb.framework.core.mvc.config.ControllerConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author kevin
 */
@Configuration
@ComponentScan
public class CanalConfiguration {
    /**
     * 配置自定义service扫描路径 {module}/{service}/{method}
     */
    @Bean
    public ControllerConfig canalConfiguration() {
        return new ControllerConfig("canalServer", "cc.smtweb.system.canal.deployer", null);
    }
}
