chenjunkai před 6 roky
rodič
revize
decdf39697
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Controller/DetectController.py

+ 1 - 1
Controller/DetectController.py

@@ -90,7 +90,7 @@ class DetectControllerView(View):
         for p in qr:
             p['img'] = bucket.sign_url('GET',
                                        '{uid}/{channel}/{time}.jpeg'.format(uid=p['devUid'], channel=p['Channel'],
-                                                                            time=p['time']), 300)
+                                                                            time=p['eventTime']), 300)
             res.append(p)
         return response.json(0, {'datas': res, 'count': count})