application.yml
1.16 KB
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
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