Skip to content

Commit b10151e

Browse files
committed
支持json后缀请求
1 parent 992d906 commit b10151e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mq-cloud/src/main/resources/application.yml

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ spring:
2424
profiles:
2525
active: local
2626
mvc:
27+
contentnegotiation:
28+
favor-path-extension: true
29+
pathmatch:
30+
use-suffix-pattern: true
2731
favicon:
2832
enabled: false
2933
freemarker:

0 commit comments

Comments
 (0)