|
@@ -4,6 +4,7 @@ import com.sckw.core.web.response.BaseResult;
|
|
|
import com.sckw.transport.api.model.dto.VehicleDataDTO;
|
|
import com.sckw.transport.api.model.dto.VehicleDataDTO;
|
|
|
import com.sckw.transport.api.model.dto.VehicleReturnData;
|
|
import com.sckw.transport.api.model.dto.VehicleReturnData;
|
|
|
import com.sckw.transport.api.model.vo.VehicleTraceResponse;
|
|
import com.sckw.transport.api.model.vo.VehicleTraceResponse;
|
|
|
|
|
+import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -22,6 +23,7 @@ import java.util.List;
|
|
|
path = "/api/transfer",
|
|
path = "/api/transfer",
|
|
|
configuration = VehicleTraceFeignConfig.class
|
|
configuration = VehicleTraceFeignConfig.class
|
|
|
)
|
|
)
|
|
|
|
|
+@ConditionalOnProperty(name = "vehicle.trace.api.base-url")
|
|
|
public interface VehicleTraceClient {
|
|
public interface VehicleTraceClient {
|
|
|
|
|
|
|
|
/**
|
|
/**
|