Commit 565f3992 authored by linruibiao's avatar linruibiao

引入nacos

parent f7450cb0
package com.syc.slm.slmbi; package com.syc.slm.slmbi;
import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.mybatis.spring.annotation.MapperScan; import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
@MapperScan("com.syc.**.dao") @MapperScan("com.syc.**.dao")
@NacosPropertySource(dataId = "slm-bi-base.yaml", autoRefreshed = true)
@NacosPropertySource(dataId = "slm-bi-data.yaml", autoRefreshed = true)
@SpringBootApplication @SpringBootApplication
public class SlmBiApplication { public class SlmBiApplication {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment