| | |
| | | import com.yeshi.fanli.dto.vip.goods.VIPGoodsInfo;
|
| | | import com.yeshi.fanli.entity.goods.ShareGoodsTextTemplate;
|
| | | import com.yeshi.fanli.entity.jd.JDGoods;
|
| | | import com.yeshi.fanli.entity.system.ConfigKeyEnum;
|
| | | import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief;
|
| | | import com.yeshi.fanli.exception.goods.ShareGoodsTextTemplateException;
|
| | |
|
| | |
| | |
|
| | | public String createContentVIP(String template, VIPGoodsInfo goods, String jumpLink);
|
| | |
|
| | | public String createContentSuning(String template, SuningGoodsInfo goods, String jumpLink);
|
| | |
|
| | | public String getTextTemplateByJD(Long uid);
|
| | |
|
| | |
| | |
|
| | | public void saveTemplatePDD(Long uid, String template) throws ShareGoodsTextTemplateException;
|
| | |
|
| | | /**
|
| | | * 获取推荐语文本
|
| | | * @param coupon
|
| | | * @param title
|
| | | * @param sales
|
| | | * @param couponAmount
|
| | | * @param description
|
| | | */
|
| | | public String getRecommendText(boolean coupon, String title, String sales, String couponAmount, String description);
|
| | |
|
| | | /**
|
| | | * 根据淘口令获取评论语
|
| | | * @param coupon
|
| | | * @param taoToken
|
| | | * @param zkPrice
|
| | | * @param quanPrice
|
| | | */
|
| | | public String getCommentTextByTaoToken(boolean coupon, String taoToken, String zkPrice, String quanPrice);
|
| | |
|
| | | /**
|
| | | * 根据链接获取评论语
|
| | | * @param coupon
|
| | | * @param link
|
| | | * @param zkPrice
|
| | | * @param quanPrice
|
| | | * @param keyEnum
|
| | | */
|
| | | public String getCommentTextByLink(boolean coupon, String link, String zkPrice, String quanPrice, ConfigKeyEnum keyEnum);
|
| | |
|
| | | public void resetCommonTemplateVIP(Long uid);
|
| | |
|
| | | public void resetCouponTemplateVIP(Long uid);
|
| | |
|
| | | public void resetCommonTemplateSuNing(Long uid);
|
| | |
|
| | | public void resetCouponTemplateSuNing(Long uid);
|
| | |
|
| | | public String getTextTemplateBySuNing(Long uid);
|
| | |
|
| | | public void verifyRightVIP(String template) throws ShareGoodsTextTemplateException;
|
| | |
|
| | | public void verifyRightSuNing(String template) throws ShareGoodsTextTemplateException;
|
| | |
|
| | | /**
|
| | | * 苏宁快捷分享
|
| | | * @param template
|
| | | * @param goods
|
| | | * @param jumpLink
|
| | | * @return
|
| | | */
|
| | | public String createQuickShareTextSuNing(String template, SuningGoodsInfo goods, String jumpLink);
|
| | | |
| | | |
| | | /**
|
| | | * 苏宁普通分享
|
| | | * @param template
|
| | | * @param goods
|
| | | * @param jumpLink
|
| | | * @return
|
| | | */
|
| | | public String createCommonShareTextSuNing(String template, SuningGoodsInfo goods, String jumpLink);
|
| | |
|
| | | public void saveTemplateVIP(Long uid, String template) throws ShareGoodsTextTemplateException;
|
| | |
|
| | | public void saveTemplateSuNing(Long uid, String template) throws ShareGoodsTextTemplateException;
|
| | |
|
| | | }
|