Update EmployeeClient.java
This commit is contained in:
parent
ec0b628fb4
commit
b5e698d26a
|
@ -6,8 +6,7 @@ import feign.Param;
|
|||
import feign.RequestLine;
|
||||
|
||||
public interface EmployeeClient {
|
||||
|
||||
@RequestLine("GET /empployee/{id}?active={isActive}")
|
||||
@Headers("Content-Type: application/json")
|
||||
Employee getEmployee(@Param long id, @Param boolean isActive);
|
||||
@RequestLine("GET /empployee/{id}?active={isActive}")
|
||||
@Headers("Content-Type: application/json")
|
||||
Employee getEmployee(@Param long id, @Param boolean isActive);
|
||||
}
|
Loading…
Reference in New Issue