Browse Source

修改url地址

tags/V1.0.1
chengwang 1 year ago
parent
commit
5376294edf
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/airData/report/ExportReportService.java

+ 0
- 7
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/airData/report/ExportReportService.java View File

@@ -100,13 +100,6 @@ public class ExportReportService {

// 上传到oss
String ossUrl = this.uploadOss(filePath, filename);
//对下载地址进行一次URL编码操作
try {
ossUrl = URLEncoder.encode(ossUrl, "utf-8");
} catch (UnsupportedEncodingException e) {
log.info("对下载地址进行编码失败 ossUrl={}",ossUrl);
e.printStackTrace();
}

// 记录
this.insertAirDataExport(request, inspection, airDataType, ossUrl);

Loading…
Cancel
Save