VehicleServiceClient.java
768 Bytes
package cn.com.glsx.stdinterface.api;
import cn.com.glsx.stdinterface.dto.*;
import cn.com.glsx.stdinterface.factory.StatisticsInStoreFallbackFactory;
import com.glsx.plat.core.web.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import java.util.List;
@FeignClient(name = "ne-shield-standard-interfaces", path = "/nesi/vehicle", fallbackFactory = StatisticsInStoreFallbackFactory.class, decode404 = true)
public interface VehicleServiceClient {
/**
* 安装工单
*
* @param workOrderBO
* @return
*/
@PostMapping(value = "/create")
public R<VehicleDto> getVehicleBySn(@RequestBody String sn);
}