Commit 5e1de94a by 杨林龙

开发新E盾gps基站调用基础接口

1 parent 87e1ce94
......@@ -8,6 +8,7 @@ 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.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.Collection;
import java.util.List;
......@@ -27,11 +28,13 @@ public interface DeviceLocationClient {
* @return
*/
@PostMapping(value = "/saveorupdatedevicelocationdata")
R<Integer> saveOrUpdateDeviceLocationData(@RequestBody Collection<DeviceLocationDto> deviceLocationDtos);
@ResponseBody
R saveOrUpdateDeviceLocationData(@RequestBody Collection<DeviceLocationDto> deviceLocationDtos);
/**
* 获取E盾中的所有设备号集合
*/
@GetMapping(value = "getallsninneweshield")
@ResponseBody
R<List<String>> getAllSnInNewEshield();
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!