15 changed files with 243 additions and 517 deletions
@ -1,77 +1,20 @@ |
|||||
server: |
server: |
||||
tomcat: |
|
||||
max-swallow-size: 100MB |
|
||||
port: @server.port@ |
port: @server.port@ |
||||
servlet: |
servlet: |
||||
context-path: /app-user |
context-path: /app-user |
||||
|
|
||||
spring: |
|
||||
main: |
|
||||
allow-bean-definition-overriding: true |
|
||||
servlet: |
|
||||
multipart: |
|
||||
enabled: true |
|
||||
file-size-threshold: 0 |
|
||||
max-file-size: 100MB |
|
||||
max-request-size: 100MB |
|
||||
application: |
|
||||
name: epdc-user-server |
|
||||
# 环境 dev|test|prod |
|
||||
profiles: |
|
||||
active: @spring.profiles.active@ |
|
||||
messages: |
|
||||
encoding: UTF-8 |
|
||||
basename: i18n/messages,i18n/messages_common |
|
||||
jackson: |
|
||||
time-zone: GMT+8 |
|
||||
date-format: yyyy-MM-dd HH:mm:ss |
|
||||
redis: |
|
||||
database: @spring.redis.index@ |
|
||||
host: @spring.redis.host@ |
|
||||
timeout: 30s |
|
||||
port: @spring.redis.port@ |
|
||||
password: @spring.redis.password@ |
|
||||
cloud: |
|
||||
nacos: |
nacos: |
||||
discovery: |
config: |
||||
server-addr: @nacos.server-addr@ |
server-addr: @nacos.server-addr@ |
||||
register-enabled: @nacos.register-enabled@ |
type: YAML |
||||
alibaba: |
namespace: @nacos.config.namespace@ |
||||
seata: |
group: @nacos.config.group@ |
||||
tx-service-group: epdc-user-server-fescar-service-group |
dataId: epdc-user-server |
||||
datasource: |
bootstrap: |
||||
druid: |
enable: true |
||||
driver-class-name: com.mysql.jdbc.Driver |
log: |
||||
url: @spring.datasource.druid.url@ |
enable: @nacos.config.bootstrap.log.enable@ |
||||
username: @spring.datasource.druid.username@ |
|
||||
password: @spring.datasource.druid.password@ |
|
||||
|
|
||||
management: |
spring: |
||||
endpoints: |
application: |
||||
web: |
name: epdc-user-server |
||||
exposure: |
|
||||
include: "*" |
|
||||
endpoint: |
|
||||
health: |
|
||||
show-details: ALWAYS |
|
||||
|
|
||||
mybatis-plus: |
|
||||
mapper-locations: classpath:/mapper/**/*.xml |
|
||||
#实体扫描,多个package用逗号或者分号分隔 |
|
||||
typeAliasesPackage: io.renren.entity;com.elink.esua.epdc.entity |
|
||||
global-config: |
|
||||
#数据库相关配置 |
|
||||
db-config: |
|
||||
#主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID"; |
|
||||
id-type: ID_WORKER |
|
||||
#字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断" |
|
||||
field-strategy: NOT_NULL |
|
||||
#驼峰下划线转换 |
|
||||
column-underline: true |
|
||||
banner: false |
|
||||
#原生配置 |
|
||||
configuration: |
|
||||
map-underscore-to-camel-case: true |
|
||||
cache-enabled: false |
|
||||
call-setters-on-nulls: true |
|
||||
jdbc-type-for-null: 'null' |
|
||||
|
|||||
Loading…
Reference in new issue