⬆️ Upgrading dependencies. fastjson 1.2.83

This commit is contained in:
lbw 2022-05-25 22:27:44 +08:00
parent 56b7cde2d2
commit a0d096fb06
3 changed files with 5 additions and 2 deletions

View File

@ -23,7 +23,7 @@
<maven.compiler.target>1.8</maven.compiler.target>
<git.commit.plugin>4.9.9</git.commit.plugin>
<spring.checkstyle.plugin>0.0.29</spring.checkstyle.plugin>
<fastjson.version>1.2.78</fastjson.version>
<fastjson.version>1.2.83</fastjson.version>
<springdoc.version>1.6.6</springdoc.version>
<swagger.core.version>2.2.0</swagger.core.version>
<mybatis-plus.version>3.5.1</mybatis-plus.version>

View File

@ -53,7 +53,7 @@ public interface SysFileService extends IService<SysFile> {
* @return
*/
Boolean deleteFile(Long id);
/**
* 获取外网访问地址
* @param bucket
@ -61,4 +61,5 @@ public interface SysFileService extends IService<SysFile> {
* @return
*/
String onlineFile(String bucket, String fileName);
}

View File

@ -36,6 +36,8 @@ import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
import java.util.HashMap;
import java.util.Map;