| | |
| | | import com.yeshi.fanli.service.inter.homemodule.SpecialCardService;
|
| | | import com.yeshi.fanli.service.inter.homemodule.SpecialPlaceService;
|
| | | import com.yeshi.fanli.service.inter.homemodule.SpecialService;
|
| | | import com.yeshi.fanli.service.manger.goods.ConvertLinkManager;
|
| | | import com.yeshi.fanli.util.Constant;
|
| | | import com.yeshi.fanli.util.FilePathEnum;
|
| | | import com.yeshi.fanli.util.StringUtil;
|
| | |
| | |
|
| | | @Resource
|
| | | private AppVersionService appVersionService;
|
| | | |
| | | @Resource
|
| | | private ConvertLinkManager convertLinkManager;
|
| | |
|
| | | @Resource
|
| | | private AdActivityVersionControlService adActivityVersionControlService;
|
| | |
| | | String link = configService.get(ConfigKeyEnum.activityDetailLink.getKey()) + "?type=%s&id=%s";
|
| | | link = String.format(link, CommonShareInfoEnum.special.name(),specialVO.getId());
|
| | |
|
| | | // 跳转链接
|
| | | JSONObject params = new JSONObject();
|
| | | params.put("url", link);
|
| | |
|
| | | specialVO.setComment(info.getComment());
|
| | | // 替换淘宝官方活动
|
| | | String comment = info.getComment();
|
| | | List<String> activityIdList = convertLinkManager.getTaoBaoOfficialActivityId(comment);
|
| | | for (String st : activityIdList)
|
| | | comment = comment.replace(st, "");
|
| | |
|
| | | specialVO.setComment(comment);
|
| | | specialVO.setParams(params.toString());
|
| | | specialVO.setJumpDetail(jumpDetailV2Service.getByTypeCache("web"));
|
| | | }
|