xuhy
2026-03-09 e44a6af58f5304be4bb83a01ff82e96b104549c3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.xiaopeng.api.feignClient.maintenance;
 
import com.xiaopeng.api.factory.maintenance.XpCheckLocationClientFallbackFactory;
import com.xiaopeng.api.model.maintenance.XpCheckLocation;
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.RequestParam;
 
/**
 * 打卡地址管理 Feign Client
 *
 * @author mitao
 */
@FeignClient(contextId = "XpCheckLocationClient", value = ServiceNameConstantsEnum.XP_MAINTENANCE_SERVICE, fallbackFactory = XpCheckLocationClientFallbackFactory.class)
public interface XpCheckLocationClient {
 
    /**
     * 根据ID查询打卡地址
     */
    @GetMapping("/inner/check-location/queryById")
    R<XpCheckLocation> queryById(@RequestParam Long id);
}