chenjunkai 6 năm trước cách đây
mục cha
commit
b372dc558d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Controller/DetectController.py

+ 2 - 2
Controller/DetectController.py

@@ -117,8 +117,8 @@ class DetectControllerView(View):
                     thumb0 = bucket.sign_url('GET', ts, 3600, params={'x-oss-process': 'video/snapshot,t_0000,w_700'})
                     thumb0 = bucket.sign_url('GET', ts, 3600, params={'x-oss-process': 'video/snapshot,t_0000,w_700'})
                     thumb1 = bucket.sign_url('GET', ts, 3600, params={'x-oss-process': 'video/snapshot,t_1000,w_700'})
                     thumb1 = bucket.sign_url('GET', ts, 3600, params={'x-oss-process': 'video/snapshot,t_1000,w_700'})
                     thumb2 = bucket.sign_url('GET', ts, 3600, params={'x-oss-process': 'video/snapshot,t_2000,w_700'})
                     thumb2 = bucket.sign_url('GET', ts, 3600, params={'x-oss-process': 'video/snapshot,t_2000,w_700'})
-                    thumb3 = bucket.sign_url('GET', ts, 3600, params={'x-oss-process': 'video/snapshot,t_3000,w_700'})
-                    p['img_list'] = [thumb0, thumb1, thumb2, thumb3]
+                    # thumb3 = bucket.sign_url('GET', ts, 3600, params={'x-oss-process': 'video/snapshot,t_3000,w_700'})
+                    p['img_list'] = [thumb0, thumb1, thumb2]
             if devUid in uid_type_dict.keys():
             if devUid in uid_type_dict.keys():
                 p['uid_type'] = uid_type_dict[devUid]
                 p['uid_type'] = uid_type_dict[devUid]
             else:
             else: