mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-26 19:51:56 +08:00
优化文档说明
This commit is contained in:
@@ -91,20 +91,20 @@
|
||||
<!-- =============================================================================== -->
|
||||
|
||||
<!-- 可选部署:合并鉴权模块 -->
|
||||
<dependency>
|
||||
<groupId>com.ruoyi</groupId>
|
||||
<artifactId>ruoyi-auth</artifactId>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>com.ruoyi</groupId>-->
|
||||
<!-- <artifactId>ruoyi-auth</artifactId>-->
|
||||
<!-- </dependency>-->
|
||||
<!-- 可选部署:合并文件模块 -->
|
||||
<dependency>
|
||||
<groupId>com.ruoyi</groupId>
|
||||
<artifactId>ruoyi-modules-file</artifactId>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>com.ruoyi</groupId>-->
|
||||
<!-- <artifactId>ruoyi-modules-file</artifactId>-->
|
||||
<!-- </dependency>-->
|
||||
<!-- 可选部署:合并定时任务模块 -->
|
||||
<dependency>
|
||||
<groupId>com.ruoyi</groupId>
|
||||
<artifactId>ruoyi-modules-job</artifactId>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>com.ruoyi</groupId>-->
|
||||
<!-- <artifactId>ruoyi-modules-job</artifactId>-->
|
||||
<!-- </dependency>-->
|
||||
|
||||
</dependencies>
|
||||
|
||||
|
||||
@@ -8,15 +8,15 @@ import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
/**
|
||||
* 多合一启动器
|
||||
* all-in-one架构模式下的启动入口类
|
||||
*
|
||||
* @author Alan Scipio
|
||||
* created on 2024/1/31
|
||||
*/
|
||||
@EnableCustomConfig
|
||||
@EnableCustomSwagger2
|
||||
@EnableRyFeignClients
|
||||
@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class})
|
||||
//@EnableCustomConfig
|
||||
//@EnableCustomSwagger2
|
||||
//@EnableRyFeignClients
|
||||
//@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class})
|
||||
public class SystemAllApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(SystemAllApplication.class, args);
|
||||
|
||||
@@ -8,14 +8,14 @@ import com.ruoyi.common.security.annotation.EnableRyFeignClients;
|
||||
import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2;
|
||||
|
||||
/**
|
||||
* 系统模块
|
||||
* 系统模块(常规模式)
|
||||
*
|
||||
* @author ruoyi
|
||||
*/
|
||||
//@EnableCustomConfig
|
||||
//@EnableCustomSwagger2
|
||||
//@EnableRyFeignClients
|
||||
//@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class})
|
||||
@EnableCustomConfig
|
||||
@EnableCustomSwagger2
|
||||
@EnableRyFeignClients
|
||||
@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class})
|
||||
public class RuoYiSystemApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(RuoYiSystemApplication.class, args);
|
||||
|
||||
@@ -7,8 +7,8 @@ spring:
|
||||
application:
|
||||
# 应用名称
|
||||
name: ruoyi-system
|
||||
main:
|
||||
allow-bean-definition-overriding: true # All-in-one模式下必须
|
||||
# main:
|
||||
# allow-bean-definition-overriding: true # All-in-one模式下必须
|
||||
profiles:
|
||||
# 环境配置
|
||||
active: dev
|
||||
@@ -26,5 +26,5 @@ spring:
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
# 指定分组
|
||||
# group: DEFAULT_GROUP #默认微服务组
|
||||
group: GROUP_ALL_IN_1 #多模块集成在system模块里的模式
|
||||
group: DEFAULT_GROUP #默认微服务组
|
||||
#group: GROUP_ALL_IN_1 #多模块集成在system模块里的模式
|
||||
|
||||
Reference in New Issue
Block a user