提交 bae56c61 authored 作者: niguanghui's avatar niguanghui

--no commit message

上级 b0e84bdd
......@@ -17,7 +17,7 @@ import tk.mybatis.spring.annotation.MapperScan;
@EnableFeignClients
@EnableEurekaClient
@SpringBootApplication // 系统会去入口类的同级包以及下级包中去扫描实体类,因此我们建议入口类的位置在groupId+arctifactID组合的包名下。
@MapperScan(basePackages = {"com.zrqx.resource.bg.mapper.*"})
@MapperScan(basePackages = {"com.zrqx.content.bg.mapper.*"})
public class ContentStart {
@Value("${spring.datasource.url}")
private String url;
......@@ -32,7 +32,7 @@ public class ContentStart {
// 下面两行代码都可以用来启动
SpringApplication.run(ContentStart.class, args);
// new SpringApplicationBuilder(AppStart.class).web(true).run(args);
logger.info("resource服务已启动.....");
logger.info("content服务已启动.....");
// test serversion
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论