“mitao”
2026-03-23 b91c1ee0a758cfa20ae5b0ed896a7281fb34622f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.xiaopeng.api.feignClient.operation;
 
 
import com.xiaopeng.api.factory.operation.XpElectronicFenceClientFallbackFactory;
import com.xiaopeng.api.model.operation.XpElectronicFence;
import com.xiaopeng.common.core.domain.R;
import com.xiaopeng.common.core.dto.ServiceNameConstantsEnum;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
 
import java.util.List;
 
@FeignClient(contextId = "XpElectronicFenceClient", value = ServiceNameConstantsEnum.XP_OPERATION_SERVICE, fallbackFactory = XpElectronicFenceClientFallbackFactory.class)
public interface XpElectronicFenceClient {
 
 
 
    @PostMapping("/api/v1/electronicFence/inner/xpElectronicFence/selectBatchIds")
    R<List<XpElectronicFence>> selectBatchIds(@RequestBody List<String> fenceIds);
 
 
 
    @GetMapping("/api/v1/electronicFence/inner/xpElectronicFence/selectById")
    R<XpElectronicFence> selectById(@RequestParam String fenceId);
}