From 8cf112f2be1313518ffe5663de6e8c6b265d01d1 Mon Sep 17 00:00:00 2001 From: wuchunlei Date: Mon, 15 Dec 2025 17:48:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=A0=87=E5=BF=97=E3=80=81=E9=98=BF=E9=87=8C?= =?UTF-8?q?=E4=BA=91oss=20key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 9b9892d..004ff0f 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -55,10 +55,25 @@ spring: #mybatis mybatis-plus: mapper-locations: classpath*:/mapper/**/*.xml + global-config: + #数据库相关配置 + db-config: + #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID"; + id-type: AUTO + logic-delete-value: 1 + logic-not-delete-value: 0 + banner: false #原生配置 configuration: map-underscore-to-camel-case: true cache-enabled: false call-setters-on-nulls: true jdbc-type-for-null: 'null' - log-impl: org.apache.ibatis.logging.stdout.StdOutImpl \ No newline at end of file + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl +aliyun: + oss: + file: + endpoint: oss-cn-beijing.aliyuncs.com + keyid: LTAIiSMeo8ztauV5 + keysecret: pVIYAOIFSUGg61lYfE8cjg2ZNpnLJA + bucketname: ehh-private-01 \ No newline at end of file