application.yml 1.78 KB
Newer Older
Rensq's avatar
Rensq committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99

spring:
  profiles:
    active: dev
  application:
    name: zlmy-boot
  servlet:
    multipart:
      enabled: true
      max-file-size: 20MB
      max-request-size: 20MB
  main:
    allow-circular-references: true
## Mybatis
mybatis-plus:
  global-config:
    db-config:
      id-type: uuid
  configuration:
    cache-enabled: false
#    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
    jdbc-type-for-null: NULL
  mapper-locations: classpath*:/mapper/**/**/**.xml
  configuration-properties:
    prefix:
    blobType: BLOB
    boolValue: TRUE

## Swagger
swagger:
  enable: true
  title: API查看器
  description:
  version: 1.0
  contact:
    name: tongtech
    url: a.b.c.d
    mail: a@b.c.d

## 代码生成
gen:
  # 作者
  author: testor-framework
  # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
  packageName: com.testor.module
  # 自动去除表前缀,默认是true
  autoRemovePre: false
  # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
  tablePrefix: sys_

## 异步线程池
tong:
  async:
    executor:
      thread:
        core_pool_size: 5
        max_pool_size: 5
        queue_capacity: 999
        name:
          prefix: tong-async-

## Log Path
logging:
  file:
    path: logs/

## Flowable
flowable:
  async-executor-activate: false

## File Path
file:
  path: file/
dataview:
  file: dataview-file/

## Auth Filter
auth:
  ##为true,进行资源URI与授权的关联判断
  resource: false
  ##三员分立功能开关
  sanyuan: false
  sign:
    ignoreGet: false
    timeGap: 60000

## Framework
tfw:
  request:
    ##不需要进行request封装的URI
    ignore: /**/druid/*,/**/ureport/*
  basePath: http://127.0.0.1:${server.port}

## WEB Portal Tiny
tiny:
  file:
    path: tinyFile/
    url: /tinyFile/