| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- server:
- shutdown: graceful
- port: 8083
- servlet:
- context-path: /api
- #mybatis配置
- mybatis-plus:
- mapper-locations: classpath*:com/gitee/sunchenbin/mybatis/actable/mapping/*/*.xml,classpath*:mapper/*/*.xml
- configuration:
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- global-config:
- db-config:
- logic-delete-value: 1
- logic-delete-field: deleted
- spring:
- cache:
- type: redis
- redis:
- # 7天
- time-to-live: 604800000
- profiles:
- include: doc,sys,stream
- active: dev
- jackson:
- date-format: yyyy-MM-dd HH:mm:ss
- tr:
- storage:
- previewUrl: http://192.168.100.32:8012/onlinePreview?url=
- oauth2:
- psw:
- client-id: 1234
- client-secret: 7896
- satoken:
- enable: true
- ignore-urls:
- - /error
- - /actuator/**
- - /druid/**
- - /*.html
- - /**/*.html
- - /swagger-resources/**
- - /swagger-ui/**
- - /v2/api-docs/*
- - /v2/api-docs
- - /webjars/**
- - /oauth2/psw/**
- - /download/file/**
- tenant:
- ignore-tables:
- - gen_config
- - gen_basic
- - sys_menu
- - sys_role_menu
- - sys_dict
- - sys_dict_item
- # 租户模块
- - sys_tenant
- - sys_tenant_package
- - sys_tenant_package_menu
- - sys_user_role
- - sys_portal_menu
- - sys_user_portal
- # 短信模块
- - sys_sms_temp
- - sys_sms_channel
- - sys_sms_log
- # 编号策略
- - sys_numbering_strategy
- # 任务调度模块
- - sys_job
- - sys_job_log
- # 存储模块
- - sys_storage_config
- - sys_storage_file
- # 导入导出模块
- - sys_export_sheet
- - sys_export_row
- ignore-urls:
- - /oauth2/psw/token
- - /sys/log/**
- sa-token:
- is-read-header: true
- # token名称 (同时也是cookie名称)
- token-name: Authorization
- # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
- is-concurrent: true
- # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
- is-share: false
- # 是否打开续签
- auto-renew: true
- # 是否输出操作日志
- is-log: false
- # 同一账号登录数量不做限制
- max-login-count: -1
- oauth2:
- is-password: true
- # 30天
- access-token-timeout: ${sa-token.timeout}
- # 1天
- refresh-token-timeout: 2592000
- timeout: 86400
|