From 457f4881a89c03984c7b46ed10e8919d3294976c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 08 六月 2020 16:45:29 +0800 Subject: [PATCH] 淘宝好物圈修改 --- fanli/src/main/java/com/yeshi/fanli/service/inter/goods/ShareGoodsTextTemplateService.java | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/ShareGoodsTextTemplateService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/ShareGoodsTextTemplateService.java index 9f37522..c26ceed 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/ShareGoodsTextTemplateService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/goods/ShareGoodsTextTemplateService.java @@ -1,6 +1,8 @@ package com.yeshi.fanli.service.inter.goods; 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; import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief; @@ -196,4 +198,36 @@ public void saveCommonTemplateJD(Long uid, String template) throws ShareGoodsTextTemplateException; public void saveCommonTemplatePDD(Long uid, String template) throws ShareGoodsTextTemplateException; + + public void verifyRightTB(String template) throws ShareGoodsTextTemplateException; + + public void verifyRightJD(String template) throws ShareGoodsTextTemplateException; + + public void verifyRightPDD(String template) throws ShareGoodsTextTemplateException; + + public String createContentTB(String template, TaoBaoGoodsBrief goods, String token, boolean coupon); + + public String createContentJD(String template, JDGoods goods, String jumpLink, boolean coupon); + + public String createContentPDD(String template, PDDGoodsDetail goods, String jumpLink, boolean coupon); + + public String createContentVIP(String template, VIPGoodsInfo goods, String jumpLink); + + public String createContentSuning(String template, SuningGoodsInfo goods, String jumpLink); + + public String getTextTemplateByJD(Long uid); + + public String getTextTemplateByTB(Long uid); + + public String getTextTemplateByPDD(Long uid); + + public String getTextTemplateByVIP(Long uid); + + public void saveTemplateTB(Long uid, String template) throws ShareGoodsTextTemplateException; + + public void saveTemplateJD(Long uid, String template) throws ShareGoodsTextTemplateException; + + public void saveTemplatePDD(Long uid, String template) throws ShareGoodsTextTemplateException; + + } -- Gitblit v1.8.0