mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-10-14 13:50:25 +00:00
feat: 基础脚手架更新
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
package cn.bootx.platform.common.config.enums;
|
||||
|
||||
/**
|
||||
* 部署模式
|
||||
* @author xxm
|
||||
* @since 2025/1/31
|
||||
*/
|
||||
public enum DeployMode {
|
||||
|
||||
/**
|
||||
* 分模块部署, 如果有多个业务系统, 每套业务系统都是构建为独立的jar进行部署, 不同业务系统天生进行隔离
|
||||
*/
|
||||
MODULE,
|
||||
/**
|
||||
* 融合部署, 如果有多个业务系统, 但打包成一个jar进行部署的模式, 自行处理业务系统的隔离
|
||||
*/
|
||||
FUSION;
|
||||
}
|
||||
Reference in New Issue
Block a user