| | |
| | | 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 = "XpOpenCityClient", value = ServiceNameConstantsEnum.XP_OPERATION_SERVICE, fallbackFactory = XpOpenCityClientFallbackFactory.class) |
| | | public interface XpOpenCityClient { |
| | | |
| | | @GetMapping("/api/v1/openCity/nameList") |
| | | R<List<String>> pageList(String cityIds); |
| | | @GetMapping("/base/v1/mini-program/api/v1/openCity/nameList") |
| | | R<List<String>> pageList(@RequestParam String cityIds); |
| | | |
| | | } |