package com.dsh.activity.feignclient.other;
|
|
import com.dsh.activity.feignclient.other.model.TOperatorCity;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import java.util.List;
|
|
@FeignClient(value = "mb-cloud-other")
|
public interface OperatorClient {
|
|
/**
|
* 根据运营商ID 获取运营商管理的省市
|
*/
|
@RequestMapping(value = "/getCityByOperatorId")
|
List<TOperatorCity> getCityByOperatorId(@RequestBody Integer operatorId);
|
|
|
}
|