Pu Zhibing
5 天以前 15766d708c3fe150a71fc0f719c18fbfcb4093f4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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<String> getCarPreviewURLs(@RequestParam("vehicleLicensePlate") String vehicleLicensePlate);
}