Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
DLFileEntryLocalServiceUtil.getFileAsStream(...) 在我的服务器中不起作用我有文档和媒体的 s3 配置。此方法在未配置 s3 的本地服务器中完美运行,没有任何问题。这是否需要任何额外的配置。
我基本上想将 DLFileEntry 转换为 File,所以我使用了另一种方法。
文件文件 = DLFileEntryLocalServiceUtil.getFile(user.getUserId(),dlFileEntry.getFileEntryId(), dlFileEntry.getVersion(), true);