| | |
| | | import com.yeshi.fanli.dao.mybatis.goods.ShareGoodsTextTemplateMapper;
|
| | | import com.yeshi.fanli.dto.jd.JDPingouInfo;
|
| | | import com.yeshi.fanli.dto.pdd.PDDGoodsDetail;
|
| | | import com.yeshi.fanli.dto.suning.SuningGoodsInfo;
|
| | | import com.yeshi.fanli.dto.vip.goods.VIPGoodsInfo;
|
| | | import com.yeshi.fanli.entity.goods.ShareGoodsTextTemplate;
|
| | | import com.yeshi.fanli.entity.jd.JDGoods;
|
| | |
| | | }
|
| | |
|
| | | return template;
|
| | | }
|
| | | |
| | | @Override
|
| | | public String createContentSuning(String template, SuningGoodsInfo goods, String jumpLink) {
|
| | | String commentText = template.replace("{原价}", goods.getCommodityInfo().getCommodityPrice());
|
| | | commentText = commentText.replace("{链接}", jumpLink);
|
| | |
|
| | | commentText = commentText.replace("领券抢购", "抢购");
|
| | | commentText = commentText.replace("【券后价】{券后价}元", "");
|
| | |
|
| | | return deleteBlankLine(commentText);
|
| | | }
|
| | |
|
| | | @Override
|
| | |
| | | }
|
| | | }
|
| | |
|
| | |
|
| | |
|
| | | }
|