puzhibing
2026-04-29 3dc9055963af0208156aad81936ee39912b9ccbf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.xiaopeng.api.feignClient.operation;
 
import com.xiaopeng.api.factory.operation.XpRoutePlanClientFallbackFactory;
import com.xiaopeng.api.model.operation.XpRoutePlan;
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.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
 
@FeignClient(contextId = "XpRoutePlanClient", value = ServiceNameConstantsEnum.XP_OPERATION_SERVICE, fallbackFactory = XpRoutePlanClientFallbackFactory.class)
public interface XpRoutePlanClient {
 
 
    /**
     * 根据openCityId获取路线规划配置
     * @param openCityId
     * @return
     */
    @PostMapping("/logan/inner/v1/routePlan/getXpRoutePlanOpenCityId")
    R<XpRoutePlan> getXpRoutePlanOpenCityId(@RequestParam Long openCityId);
}