温红权 7 år sedan
förälder
incheckning
9a9e029598
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. BIN
      .DS_Store
  2. 2 2
      VisualInspection/js/util/video.js

BIN
.DS_Store


+ 2 - 2
VisualInspection/js/util/video.js

@@ -53,7 +53,7 @@ function queryVideoLists(videoIds) {
             if (data != null && typeof(data) != "undefined") {
                 var pp = {
                     "videoIds": videoIds,
-                    "cindex": 10,
+                    "cindex": 1,
                     "starttime": startTime,
                     "endtime": endTime,
                     "videos": []
@@ -63,7 +63,7 @@ function queryVideoLists(videoIds) {
                 data.forEach(came => {
 
                     pp.videos.push({
-                        "videoId": came.id,
+                        "videoId": came.device_id,
                         "cametype": came.cameratype,
                         "filetype": came.playtype
                     });