初始化项目
This commit is contained in:
parent
4b86dece32
commit
ed9527e04c
|
@ -12,12 +12,12 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
|||
*/
|
||||
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
|
||||
@MapperScan("com.ruoyi.**.mapper")
|
||||
public class ElectripperV2Application
|
||||
public class BoomLightApplication
|
||||
{
|
||||
public static void main(String[] args)
|
||||
{
|
||||
// System.setProperty("spring.devtools.restart.enabled", "false");
|
||||
SpringApplication.run(ElectripperV2Application.class, args);
|
||||
SpringApplication.run(BoomLightApplication.class, args);
|
||||
System.out.println("(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡ`ლ)゙ \n" +
|
||||
" .-------. ____ __ \n" +
|
||||
" | _ _ \\ \\ \\ / / \n" +
|
|
@ -13,6 +13,6 @@ public class RuoYiServletInitializer extends SpringBootServletInitializer
|
|||
@Override
|
||||
protected SpringApplicationBuilder configure(SpringApplicationBuilder application)
|
||||
{
|
||||
return application.sources(ElectripperV2Application.class);
|
||||
return application.sources(BoomLightApplication.class);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ spring:
|
|||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
url: jdbc:mysql://47.120.68.19:3306/ele-v2-dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
url: jdbc:mysql://47.120.68.19:3306/boom-light-dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: d0dbe100b71c1d09
|
||||
# 从库数据源
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# 开发环境配置
|
||||
server:
|
||||
# 服务器的HTTP端口,默认为8080
|
||||
port: 4101
|
||||
port: 4301
|
||||
servlet:
|
||||
# 应用的访问路径
|
||||
context-path: /
|
||||
|
|
Loading…
Reference in New Issue
Block a user