You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
895 B
24 lines
895 B
5 years ago
|
package com.epmet.feign;
|
||
|
|
||
|
import com.epmet.commons.tools.constant.ServiceConstant;
|
||
|
import com.epmet.commons.tools.utils.Result;
|
||
|
import com.epmet.dto.form.StaffGridInfoFormDTO;
|
||
|
import com.epmet.dto.result.StaffGridInfoResultDTO;
|
||
|
import com.epmet.feign.fallback.GovOrgFeignClientFallback;
|
||
|
import org.springframework.cloud.openfeign.FeignClient;
|
||
|
import org.springframework.http.MediaType;
|
||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
* @Description 政府端组织机构模块
|
||
|
* @Author yinzuomei
|
||
|
* @Date 2020/4/20 15:18
|
||
|
*/
|
||
|
@FeignClient(name = ServiceConstant.GOV_ORG_SERVER, fallback = GovOrgFeignClientFallback.class)
|
||
|
public interface GovOrgFeignClient {
|
||
|
@PostMapping(value = "getStaffGridInfo",consumes = MediaType.APPLICATION_JSON_VALUE)
|
||
|
Result<List<StaffGridInfoResultDTO>> getStaffGridInfo(StaffGridInfoFormDTO staffGridInfoFormDTO);
|
||
|
}
|