|
|
@ -443,9 +443,9 @@ public class DeviceController { |
|
|
|
|
|
|
|
@Log("惠氏任务生成选择终点") |
|
|
|
@ApiOperation("惠氏任务生成选择终点") |
|
|
|
@GetMapping(value = "/endPoint") |
|
|
|
public ResponseEntity<Object> selectEndPoint(String start_code) throws Exception { |
|
|
|
List<String> endPoints = deviceService.selectEndPoint(start_code); |
|
|
|
@PostMapping(value = "/endPoint") |
|
|
|
public ResponseEntity<Object> selectEndPoint(@RequestBody Map<String,String> map) throws Exception { |
|
|
|
List<String> endPoints = deviceService.selectEndPoint(map.get("start_code")); |
|
|
|
return new ResponseEntity<>(endPoints, HttpStatus.OK); |
|
|
|
} |
|
|
|
|
|
|
|