|
@@ -84,7 +84,7 @@ public class NewsArticleServiceImpl extends BaseService implements NewsArticleSe
|
|
|
|
|
|
try {
|
|
|
for (String url : newsArticleDto.getUrlList()) {
|
|
|
- url = File.pathSeparator + url.replace(accessPath, "").replace(accessResource, "");
|
|
|
+ url = File.separator + url.replace(accessPath, "").replace(accessResource, "");
|
|
|
PhotoPo photoPo = photoService.getPhotoByUrl(url);
|
|
|
photoDto.setId(photoPo.getId());
|
|
|
photoService.editPhoto(photoDto);
|