puzhibing
13 小时以前 2e3f5dfec643f2b2b91bf70e68dd882a1a32140c
ruoyi-modules/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/order/OrderServiceImpl.java
@@ -1926,6 +1926,10 @@
    
    @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("查询券信息失败");
@@ -1964,6 +1968,10 @@
    
    @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("查询券信息失败");
@@ -4285,6 +4293,7 @@
        }
        // 设置订单编号
        mgtOrderDetailVo.setOrderNo(order.getOrderNo());
        mgtOrderDetailVo.setTripartiteOrderId(order.getTripartiteOrderId());
        mgtOrderDetailVo.setOutTradeNo(order.getOutTradeNo());
        // 设置订单来源
        switch (order.getOrderFrom()) {