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.nologging.NoLoggingImpl log-impl: org.apache.ibatis.logging.stdout.StdOutImpl global-config: db-config: logic-delete-value: 1 logic-delete-field: deleted logic-not-delete-value: 0 type-handlers-package: cn.tr.plugin.mybatis.config.handler.global spring: cache: type: redis redis: # 7天 time-to-live: 604800000 profiles: include: doc,sys,stream,tianai,im active: dev jackson: date-format: yyyy-MM-dd HH:mm:ss flyway: enabled: true encoding: UTF-8 # 迁移脚本位置 locations: - classpath:db/migration/pg sql-migration-suffixes: .sql placeholder-replacement: false servlet: multipart: max-file-size: 10MB max-request-size: 20MB tr: storage: previewUrl: http://192.168.100.236:8012/onlinePreview?url= oauth2: psw: client-id: smart client-secret: tuoren123 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/** - /sse/stream tenant: ignore-tables: - gen_config - gen_basic - sys_menu - sys_role_menu - sys_dict - sys_dict_item - sys_user_position - sys_user # 租户模块 - sys_tenant - sys_tenant_package - sys_tenant_package_menu - 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 # 数据对接模块 - joint_datasource # 问卷模块 - biz_question_group - biz_question_answer - biz_question # 疼痛评价 - biz_pain_assessment # 即时通讯模块 - im_msg_group - im_msg_received - im_msg_send - biz_infusion_clinic - biz_wx_user - biz_avatar ignore-urls: - /oauth2/psw/token - /sys/log/** - /wx/user/** - /bailian/plugins/** enable: true 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: 2592000 # 1天 refresh-token-timeout: -1 timeout: 2592000 logging: config: classpath:log4j2.xml