chenjunkai %!s(int64=6) %!d(string=hai) anos
pai
achega
decdf39697
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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})