package com.xiaopeng.api.feignClient.maintenance; import com.xiaopeng.api.factory.maintenance.XpVehicleModelClientFallbackFactory; import com.xiaopeng.api.model.maintenance.XpVehicleModel; 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.RequestBody; import java.util.Collection; import java.util.List; @FeignClient(contextId = "XpVehicleModelClient", value = ServiceNameConstantsEnum.XP_MAINTENANCE_SERVICE, fallbackFactory = XpVehicleModelClientFallbackFactory.class) public interface XpVehicleModelClient { /** * 根据ID列表批量查询打卡地址 */ @PostMapping("/logan/inner/xpVehicleModel/listByIds") R> listByIds(@RequestBody Collection ids); }