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