Commit 895aaf82 by 王欣伟

车辆数据获取BUG修复

1 parent 22d705d7
...@@ -4,8 +4,10 @@ import cn.com.glsx.stdinterface.dto.*; ...@@ -4,8 +4,10 @@ import cn.com.glsx.stdinterface.dto.*;
import cn.com.glsx.stdinterface.factory.StatisticsInStoreFallbackFactory; import cn.com.glsx.stdinterface.factory.StatisticsInStoreFallbackFactory;
import com.glsx.plat.core.web.R; import com.glsx.plat.core.web.R;
import org.springframework.cloud.openfeign.FeignClient; import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
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;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List; import java.util.List;
...@@ -18,7 +20,7 @@ public interface VehicleServiceClient { ...@@ -18,7 +20,7 @@ public interface VehicleServiceClient {
* @param sn * @param sn
* @return * @return
*/ */
@PostMapping(value = "/bysn") @GetMapping(value = "/bysn")
public R<VehicleDto> getVehicleBySn(@RequestBody String sn); public R<VehicleDto> getVehicleBySn(@RequestParam String sn);
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!