|
|
@@ -18,10 +18,10 @@ import com.style24.core.support.env.TscConstants;
|
|
|
import com.style24.front.biz.dao.TsfReviewDao;
|
|
|
import com.style24.front.support.security.session.TsfSession;
|
|
|
import com.style24.persistence.domain.Goods;
|
|
|
-import com.style24.persistence.domain.Plan;
|
|
|
import com.style24.persistence.domain.Point;
|
|
|
import com.style24.persistence.domain.Review;
|
|
|
import com.style24.persistence.domain.ReviewAttach;
|
|
|
+import com.vdurmont.emoji.EmojiParser;
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
@@ -68,14 +68,16 @@ public class TsfReviewService {
|
|
|
*/
|
|
|
public Collection<Review> getReviewList(Review review) {
|
|
|
Collection<Review> reviewList = reviewDao.getReviewList(review);
|
|
|
-
|
|
|
+
|
|
|
// 첨부파일
|
|
|
for(Review loopReview : reviewList) {
|
|
|
loopReview.setReviewAttachList(reviewDao.getReviewAttachList(loopReview));
|
|
|
loopReview.setGoodsOptionList(reviewDao.getReviewGoodsOptionList(loopReview));
|
|
|
+
|
|
|
+ // 이모티콘 제거
|
|
|
+ loopReview.setReviewContent(EmojiParser.removeAllEmojis(loopReview.getReviewContent()));
|
|
|
}
|
|
|
- //log.info("getReviewList {}", reviewList);
|
|
|
-
|
|
|
+
|
|
|
return reviewList;
|
|
|
}
|
|
|
|