Commit 647daefe by 向延琳

增加请求路径

1 parent feaa5c86
......@@ -5,6 +5,8 @@ import cn.com.glsx.stdinterface.factory.DeviceSpeedingFallbackFactory;
import cn.com.glsx.stdinterface.factory.JourneyFallbackFactory;
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;
/**
* 超速记录
......@@ -22,5 +24,6 @@ public interface DeviceSpeedingClient {
* @param deviceSpeedingDTO 超速记录
* @return 无
*/
R saveDeviceSpeeding(DeviceSpeedingDTO deviceSpeedingDTO);
@PostMapping(value = "/save")
R saveDeviceSpeeding(@RequestBody DeviceSpeedingDTO deviceSpeedingDTO);
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!