publish icbc-sandbox-1.0.0
Some checks failed
/ local-deploy (push) Failing after 32s

This commit is contained in:
曾文豪
2024-11-09 13:52:30 +08:00
parent c2fe494ed9
commit 4d4165aba8
15 changed files with 56 additions and 31 deletions

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>com.tiesheng.springboot-parent</groupId>
<artifactId>springboot-parent</artifactId>
<version>1.0.24</version>
<version>icbc-sandbox-1.0.0</version>
</parent>
<artifactId>springboot-web</artifactId>

View File

@@ -115,6 +115,8 @@ public class FileUploadService {
* @param fileMd5
*/
public String chunkMerge(String fileMd5, String fileExt) {
// 0校验文件类型是否合法
tieshengWebConfigurer.uploadFileCheck(fileExt);
// 1获取文件块的目录
FileUploadPath folder = FileUploadPath.folder(fileMd5);

View File

@@ -35,8 +35,7 @@ public interface TieshengWebConfigurer {
*/
default ApiResp<String> addExceptionHandler(Exception e) {
ApiResp<String> apiResp = ApiResp.respCust(ApiRespEnum.ServerError);
apiResp.setException(e);
LogFactory.get().info(apiResp.getException());
LogFactory.get().info(e);
return apiResp;
}