Skip to content

Commit 9c3a381

Browse files
committed
FIXED get_detail_information_by_operation
1 parent 4286372 commit 9c3a381

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/OrderView/utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ def get_skany_video_info(time: time, camera_ip: str) -> Dict[str, Any]:
1919
return {"status": False}
2020

2121
result: Dict[str, Any] = response.json()
22-
print("video result: ", result)
2322
result["camera_ip"]: str = camera_ip
23+
result["status"] = True
24+
print("video result: ", result)
2425
return result
2526

2627

@@ -29,7 +30,7 @@ def get_playlist_camera(time_start, time_end, camera_ip, timespan_id):
2930
"timeStart": time_start,
3031
"timeEnd": time_end,
3132
"cameraIp": camera_ip,
32-
"timespanId": timespan_id
33+
"timespanId": f"{timespan_id}"
3334
}
3435
url = f"{ONVIF_SERVICE_URL}:3010/api/cam-stream/videos/create-manifest/"
3536
try:

0 commit comments

Comments
 (0)