puzhibing
2026-05-12 08cc6d5cf7e93b75cfabe7dcc2aeaa9afa1117eb
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
package com.xiaopeng.api.feignClient.operation;
 
import com.xiaopeng.api.factory.operation.XpTargetedServiceClientFallbackFactory;
import com.xiaopeng.api.vo.operation.XpTargetedServiceVehicleVo;
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;
 
import java.util.List;
 
@FeignClient(contextId = "XpTargetedServiceClient", value = ServiceNameConstantsEnum.XP_OPERATION_SERVICE,
        fallbackFactory = XpTargetedServiceClientFallbackFactory.class)
public interface XpTargetedServiceClient {
 
 
    /**
     * 根据用户ID和城市编码获取
     * @param appUserId  用户ID
     * @param cityCode   城市编码
     * @return
     */
    @GetMapping("/logan/inner/v1/targetedService/findListByUserIdAndCityCode")
    R<List<XpTargetedServiceVehicleVo>> findListByUserIdAndCityCode(@RequestParam("appUserId") Long appUserId, @RequestParam("cityCode") String cityCode);
 
}