application.yml 1.16 KB
server:
  port: 8081
  servlet:
    context-path: /biz-customer
    session:
      timeout: 120
spring:
  application:
    name: biz-customer
  profiles:
    active: @activatedProperties@
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
  servlet:
    multipart:
      max-file-size: -1
      max-request-size: -1
  messages:
    basename: message
    encoding: utf-8

import:
  jwt:
    securityKey: C*F-JaNdRgUkXn2r5u8x/A?D(G+KbPeShVmYq3s6v9y$B&E)H@McQfTjWnZr4u7w
    urlWhiteList:
      - /biz-customer/auth
      - /biz-customer/monitor/ok
      - /biz-customer/user/logout
      - /biz-customer/swagger-resources
      - /biz-customer/webjars
      - /biz-customer/csrf
    uriWhiteList:
      - /biz-customer/swagger-ui.html
      - /biz-customer/swagger-ui/*
      - /biz-customer/v2/api-docs
      - /biz-customer/login.html
    expire_1H: 7200
    expire_1D: 604800

mybatis:
  mapper-locations:
    - classpath*:com/fedex/connect/**/mapper/**/*.xml
  configuration:
    #开启驼峰与下划线转换
    map-underscore-to-camel-case: true
    call-setters-on-nulls: true
#全局异常拦截是否生效
common:
  exception-advice-webconfig:
    enable: true