fix(优惠券中心):携程全链路调试完成

This commit is contained in:
2025-08-25 12:20:17 +08:00
parent 6d9d9f2124
commit 7a75f7278d
5 changed files with 209 additions and 19 deletions
@@ -4,10 +4,7 @@ import com.central.common.constant.ServiceNameConstants;
import com.central.common.model.Result;
import com.central.device.feign.fallback.OrderCenterServiceFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.*;
import java.util.Map;
@@ -39,6 +39,11 @@ public class OrderCenterServiceFallbackFactory implements FallbackFactory<OrderC
return null;
}
@Override
public Map<String, Object> getQrcodeByDeviceId(String deviceId, Integer qrcodeType) {
return Map.of();
}
@Override
public Result createRefundForOfflineDevice(String orderNo, Map<String, Object> refundBody) {
log.error("调用订单中心退款接口失败: orderNo={}, cause={}", orderNo, cause.getMessage());