package com.ruoyi.dataInterchange.api.feignClient; import com.ruoyi.common.core.constant.ServiceNameConstants; import com.ruoyi.common.core.domain.R; import com.ruoyi.dataInterchange.api.factory.HaiKangClientFallbackFactory; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestParam; /** * @author zhibing.pu * @Date 2025/5/29 9:07 */ @FeignClient(contextId = "PlaybackMsgClient", value = ServiceNameConstants.DATA_INTERCHANGE_SERVICE, fallbackFactory = HaiKangClientFallbackFactory.class) public interface HaiKangClient { /** * 获取海康的实时监控预览url * @param vehicleLicensePlate * @return */ @PostMapping("/haikang/getCarPreviewURLs") R getCarPreviewURLs(@RequestParam("vehicleLicensePlate") String vehicleLicensePlate); }