parent
693e397ec5
commit
c76981e2e2
@ -0,0 +1,15 @@
|
||||
package com.taxi.servicedriveruser.remote;
|
||||
|
||||
import com.internal.dto.ResponseResult;
|
||||
import com.internal.dto.TerminalResponse;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
@FeignClient("service-map")
|
||||
public interface ServiceMapClient {
|
||||
|
||||
@RequestMapping(method = RequestMethod.POST,value = "/terminal/addTerminal")
|
||||
ResponseResult<TerminalResponse> addTerminal(@RequestParam String name);
|
||||
}
|
Loading…
Reference in new issue