修改提交
This commit is contained in:
@@ -45,7 +45,7 @@ public class CsElementServiceImpl extends ServiceImpl<CsElementMapper, CsElement
|
||||
csElement.setPath(path);
|
||||
csElement.setStatus(1);
|
||||
this.saveOrUpdate(csElement);
|
||||
csElement.setPath(fileStorageUtil.getFileUrl(path));
|
||||
csElement.setPath(path);
|
||||
return csElement;
|
||||
}
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ public class CsFeedbackServiceImpl extends ServiceImpl<CsFeedbackMapper, CsFeedb
|
||||
queryWrapper.eq ("id", id).eq ("status", "1");
|
||||
List<CsFilePathPO> list = csFilePathService.list (queryWrapper);
|
||||
List<String> collect = list.stream ( ).map (temp->{
|
||||
return fileStorageUtil.getFileUrl (temp.getFilePath ());
|
||||
return temp.getFilePath ();
|
||||
}).collect (Collectors.toList ( ));
|
||||
csFeedbackDetailVO.setImageUrls (collect);
|
||||
QueryWrapper<CsFeedbackChatPO> csFeedbackChatPOQueryWrapper = new QueryWrapper();
|
||||
|
||||
Reference in New Issue
Block a user