公有云存储附件加密路径,调用绑定附件报错原创
金蝶云社区-谢文浩
谢文浩
4人赞赏了该文章 1,035次浏览 未经作者许可,禁止转载编辑于2021年12月30日 18:12:45

问题:公有云存储附件加密路径,调用绑定附件报错"attachmentpanel 第 1 个附件path参数错误


image.png


解决方法:


String path = "xxxxxx";
//获取实际存储路径
String realPath = FileServiceFactory.getAttachmentFileService().getFileServiceExt().getRealPath(path);
//或者
FilePathService filePathService = new FilePathService();
String realPath = filePathService.getRealPath(path);


涉及的表 T_BAS_ATTACHMENT

赞 4