Newer
Older
casic-smartcity / casic-web / src / main / resources / config / application.yml
casic_zt on 24 Jan 2024 2 KB 迭代测试提交
##########################################################
##################  所有profile共有的配置  #################
##########################################################
spring:
  profiles:
    active: postgre
  servlet:
    multipart:
      max-file-size: 50MB
      max-request-size: 80MB
  kafka:
    #139.198.17.169:9092
    bootstrap-servers: localhost:9092
    consumer: # 指定默认消费者group id
      group-id: 21e87b6b-175d-4600-a1f0-690c360ce532
mybatis-plus:
  global-config:
    enable-sql-runner: true
  configuration:
    # 配置结果集属性为空时 是否映射返回结果
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #打印sql语句,调试用
#    log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
###################  mybatis-plus配置  ###################
###################  casic配置  ###################
flowable:
  checkProcessDefinitions: false #不校验process文件
casic:
  swagger-open: true #是否开启swagger (true/false)
  kaptcha-open: false #是否开启登录时验证码 (true/false)
  muti-datasource-open: false #是否开启多数据源(true/false)
  spring-session-open: false #是否开启spring session,如果是多机环境需要开启(true/false)
  session-invalidate-time: 86400 #session失效时间(只在单机环境下生效,,多机环境在SpringSessionConfig类中配置) 单位:秒
  session-validation-interval: 900 #多久检测一次失效的session(只在单机环境下生效) 单位:秒
  extUrl: sys
  sysUrl: /sys
  urlExclusion: /well/update,/well/add
  config:
    export-path: D:\java\boot\guns-web-1.0.0-SNAPSHOT\export\
    config-path: E:\Develop\IdeaProject\smartcity\casic-smartcity-dcms\casic-web\src\main\resources\config\
smartcity:
  config:
    export-path: E:\gwq\guns-smartcity\guns-web\src\main\resources\config\export\
    image-path: E:\gwq\guns-smartcity\guns-web\src\main\resources\config\image\
  sluicewell:
    coordinate-convert:
      coordinate: gaode
      baiduUrl: http://api.map.baidu.com/geoconv/v1/
      baiduAk: QL9aqGNjgcRAGkt6F0BrsVmfGGOgjVyr
      gaodeUrl: https://restapi.amap.com/v3/assistant/coordinate/convert
      gaodeKey: 2d459ca4a25b083605c36428db59b200
  office:
    maxRowsExcel: 65536
  leaderRoleName: leader
  memberRoleName: member
  appRoleName: app
  adminRoleName: administrator
  opRoleName: operation
  device:
    redis:
      invalid-time: 86400
      host: localhost
      port: 6379
  useOverTime: true
swagger:
  enable: true
  groupName: "用户服务"
knife4j:
  # 开启增强配置
  enable: true
  # 开启Swagger的Basic认证功能,默认是false
  basic:
    enable: true
    # Basic认证用户名
    username: test
    # Basic认证密码
    password: 123