|
|
|
@ -2,6 +2,7 @@ package com.taxi.servicedriveruser.remote;
|
|
|
|
|
|
|
|
|
|
import com.internal.dto.ResponseResult;
|
|
|
|
|
import com.internal.dto.TerminalResponse;
|
|
|
|
|
import com.internal.dto.TrackResponse;
|
|
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
|
@ -12,4 +13,7 @@ public interface ServiceMapClient {
|
|
|
|
|
|
|
|
|
|
@RequestMapping(method = RequestMethod.POST,value = "/terminal/addTerminal")
|
|
|
|
|
ResponseResult<TerminalResponse> addTerminal(@RequestParam String name);
|
|
|
|
|
|
|
|
|
|
@RequestMapping(method = RequestMethod.POST,value = "/track/addTrack")
|
|
|
|
|
ResponseResult<TrackResponse> addTrack(@RequestParam String tid);
|
|
|
|
|
}
|
|
|
|
|