| | |
| | | |
| | | @Override |
| | | public MerVerifyOrderVo verifyOrderDouYin(String orderId, Long shopId) { |
| | | Shop shop = remoteShopService.getShop(shopId).getData(); |
| | | if(StringUtils.isEmpty(shop.getDyPoiId())){ |
| | | throw new ServiceException("请先绑定抖音门店ID"); |
| | | } |
| | | CertificatePrepareResponseData data = VerifyUtil.certificatePrepare(orderId); |
| | | if (null == data) { |
| | | throw new ServiceException("查询券信息失败"); |
| | |
| | | |
| | | @Override |
| | | public MerVerifyOrderVo verifyOrderKuaiShou(String orderId, Long shopId) { |
| | | Shop shop = remoteShopService.getShop(shopId).getData(); |
| | | if(StringUtils.isEmpty(shop.getKsPoiId())){ |
| | | throw new ServiceException("请先绑定快手门店ID"); |
| | | } |
| | | VerifyPrepareDataNew data = KSVerifyUtil.certificatePrepare(redisService, orderId); |
| | | if (null == data) { |
| | | throw new ServiceException("查询券信息失败"); |
| | |
| | | } |
| | | // 设置订单编号 |
| | | mgtOrderDetailVo.setOrderNo(order.getOrderNo()); |
| | | mgtOrderDetailVo.setTripartiteOrderId(order.getTripartiteOrderId()); |
| | | mgtOrderDetailVo.setOutTradeNo(order.getOutTradeNo()); |
| | | // 设置订单来源 |
| | | switch (order.getOrderFrom()) { |