图片上传流程优化

This commit is contained in:
xiongxiaoyang
2021-05-16 09:47:23 +08:00
parent 9de47ce697
commit 9d2c453bb0
9 changed files with 189 additions and 115 deletions

View File

@@ -11,6 +11,11 @@ spring:
generator:
write-numbers-as-strings: true
#上传文件的最大值1M
servlet:
multipart:
max-file-size: 1048576
#缓存类型ehcache(默认)redis
cache:
type: ehcache
@@ -26,3 +31,5 @@ logging:
config: classpath:logback-boot.xml