feat: 基础脚手架更新

This commit is contained in:
bootx
2025-03-02 00:27:06 +08:00
parent 52769e630a
commit 36a6901f8e
162 changed files with 1664 additions and 474 deletions

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>cn.bootx.platform</groupId>
<artifactId>bootx-platform-common</artifactId>
<version>3.0.0.beta4</version>
<version>3.0.0.beta5</version>
</parent>
<artifactId>common-config</artifactId>

View File

@@ -1,11 +1,15 @@
package cn.bootx.platform.common.config;
import cn.bootx.platform.common.config.enums.DeployMode;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.ArrayList;
import java.util.List;
/**
* swagger配置
* 系统配置配置
*
* @author xxm
* @since 2020/4/9 13:36
@@ -16,6 +20,15 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
public class BootxConfigProperties {
/** 终端编码 */
@Deprecated
private String clientCode = "";
/**
* 终端列表, 开启融合模式后才会生效, 表示当前系统集成了哪些终端模块
*/
private List<String> clientCodes = new ArrayList<>();
/** 系统部署方式 */
private DeployMode deployMode = DeployMode.FUSION;
}

View File

@@ -0,0 +1,18 @@
package cn.bootx.platform.common.config.enums;
/**
* 部署模式
* @author xxm
* @since 2025/1/31
*/
public enum DeployMode {
/**
* 分模块部署, 如果有多个业务系统, 每套业务系统都是构建为独立的jar进行部署, 不同业务系统天生进行隔离
*/
MODULE,
/**
* 融合部署, 如果有多个业务系统, 但打包成一个jar进行部署的模式, 自行处理业务系统的隔离
*/
FUSION;
}