package cn.gistack.nky.fegin;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
import java.util.List;
|
|
@FeignClient(
|
value = "blade-nky",
|
fallback = IHsybClientFallback.class
|
)
|
public interface IHsybClient {
|
String API_PREFIX = "/client";
|
|
|
String UPDATE_CJYSJ_BY_TM= API_PREFIX + "/updateCjysjByTm";
|
String GET_ALL_RES= API_PREFIX + "/getAllRes";
|
|
|
@PostMapping(UPDATE_CJYSJ_BY_TM)
|
String updateCjysjByTm(@RequestBody List<String> resIds);
|
|
}
|