Procházet zdrojové kódy

修改回调日志信息

syh před 5 roky
rodič
revize
4f62b8dc82

+ 1 - 2
jeecg-boot-module-system/src/main/java/org/jeecg/modules/wps/service/impl/WpsFileServiceImpl.java

@@ -21,7 +21,6 @@ import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import org.springframework.web.multipart.MultipartFile;
 
-import java.net.URLEncoder;
 import java.util.*;
 
 /**
@@ -166,7 +165,7 @@ public class WpsFileServiceImpl extends ServiceImpl<WpsFileMapper, WpsFile> impl
         // 构建fileInfo
         FileDTO file = new FileDTO();
         BeanUtils.copyProperties(fileEntity,file);
-        file.setDownload_url(URLEncoder.encode(fileEntity.getDownloadUrl()));
+        file.setDownload_url("https://ctop-media.oss-cn-beijing.aliyuncs.com/script-lib/wps/%E5%B7%A5%E4%BD%9C%E8%AE%A1%E5%88%92%E6%97%A5%E7%A8%8B%E8%A1%A820200618131143825.docx");
         file.setUser_acl(userAcl);
         file.setWatermark(watermark);
         result.put("file",file);