| | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | |
| | | import com.yeshi.fanli.entity.SystemEnum; |
| | | import com.yeshi.fanli.entity.SystemFunction; |
| | | import com.yeshi.fanli.exception.taobao.TaoBaoConvertLinkException; |
| | | import com.yeshi.fanli.service.manger.goods.TaoBaoLinkManager; |
| | |
| | | |
| | | private void getTaoBaoLinkWithoutFanLi(AcceptData acceptData, Long auctionId, String from, String source, |
| | | HttpServletRequest request, PrintWriter out) { |
| | | |
| | | try { |
| | | TaoBaoLink taoBaoLink = taoBaoLinkManager.getTaoBaoLinkForRecieveCoupon(auctionId, null, TaoBaoConstant.TAOBAO_COUPON_PID); |
| | | String pid = TaoBaoConstant.TAOBAO_COUPON_PID; |
| | | |
| | | if (acceptData.getSystem() == SystemEnum.yhqjx) { |
| | | pid="mm_124933865_56750082_19510050154"; |
| | | } |
| | | |
| | | TaoBaoLink taoBaoLink = taoBaoLinkManager.getTaoBaoLinkForRecieveCoupon(auctionId, null, pid); |
| | | JSONObject data = new JSONObject(); |
| | | JSONObject link = new JSONObject(); |
| | | link.put("clickUrl", taoBaoLink.getClickUrl()); |