From 5e47011ce75915ba9c66178125b9b76a22788a5b Mon Sep 17 00:00:00 2001 From: b2894lxlx <517289602@qq.com> Date: Wed, 5 Feb 2025 11:22:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=98=AF=E5=90=A6=E5=8A=9E?= =?UTF-8?q?=E5=85=AC=E5=AE=A4=E4=B8=BB=E4=BB=BB=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/system/entity/Organization.java | 3 ++ src/main/resources/application-tyzx.yml | 42 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 src/main/resources/application-tyzx.yml diff --git a/src/main/java/com/gxwebsoft/common/system/entity/Organization.java b/src/main/java/com/gxwebsoft/common/system/entity/Organization.java index b67d243..3563ce7 100644 --- a/src/main/java/com/gxwebsoft/common/system/entity/Organization.java +++ b/src/main/java/com/gxwebsoft/common/system/entity/Organization.java @@ -95,6 +95,9 @@ public class Organization implements Serializable { @ApiModelProperty(value = "是否合作单位") private Integer isCoop; + @ApiModelProperty(value = "是否办公室主任") + private Integer isChief; + @ApiModelProperty(value = "法定代表人") private String legalPerson; diff --git a/src/main/resources/application-tyzx.yml b/src/main/resources/application-tyzx.yml new file mode 100644 index 0000000..beda32f --- /dev/null +++ b/src/main/resources/application-tyzx.yml @@ -0,0 +1,42 @@ +# 生产环境配置 + +# 数据源配置 +spring: + datasource: + url: jdbc:mysql://127.0.0.1:3308/gxwebsoft_core?useSSL=false&serverTimezone=UTC + username: gxwebsoft_core + password: jdj7HYEdYHnYEFBy + driver-class-name: com.mysql.cj.jdbc.Driver + type: com.alibaba.druid.pool.DruidDataSource + +# 日志配置 +logging: + file: + name: websoft-core.log + level: + root: WARN + com.gxwebsoft: ERROR + com.baomidou.mybatisplus: ERROR + +socketio: + host: 0.0.0.0 #IP地址 + +knife4j: + # 开启knife4j增强 + enable: true + # 开启生产环境屏蔽,一定要先开启knife4j增强才会生效 + production: false + +# 框架配置 +config: + # 生产环境接口 + server-url: https://gxtyzx-server.websoft.top/api + upload-path: /www/wwwroot/gxtyzx-api/ + + # 阿里云OSS云存储 + endpoint: https://oss-cn-shenzhen.aliyuncs.com + accessKeyId: LTAI4GKGZ9Z2Z8JZ77c3GNZP + accessKeySecret: BiDkpS7UXj72HWwDWaFZxiXjNFBNCM + bucketName: oss-gxwebsoft + bucketDomain: https://oss.wsdns.cn + aliyunDomain: https://oss-gxwebsoft.oss-cn-shenzhen.aliyuncs.com