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.PlaybackMsgClientFallbackFactory; import com.ruoyi.dataInterchange.api.vo.UPPlaybackMsgStartupAckVo; 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/3/24 16:36 */ @FeignClient(contextId = "PlaybackMsgClient", value = ServiceNameConstants.DATA_INTERCHANGE_SERVICE, fallbackFactory = PlaybackMsgClientFallbackFactory.class) public interface PlaybackMsgClient { /** * 远程录像回放请求 * * @param inferiorPlatformId * @param vehicleNo * @return */ @PostMapping("/playbackMsg/playbackMsgStartup") R playbackMsgStartup(@RequestParam("inferiorPlatformId") Integer inferiorPlatformId, @RequestParam("vehicleNo") String vehicleNo, @RequestParam("startTime") Long startTime, @RequestParam("endTime") Long endTime); /** * 远程录像回放控制 * * @param inferiorPlatformId 平台唯一码 * @param vehicleNo 车牌号 * @param controlType 控制类型 * @param fastTime 快进快退倍数 * @return */ @PostMapping("/playbackMsg/playbackMsgControl") R playbackMsgControl(@RequestParam("inferiorPlatformId") Integer inferiorPlatformId, @RequestParam("vehicleNo") String vehicleNo, @RequestParam("controlType") Integer controlType, @RequestParam("fastTime") Integer fastTime); }