peng 2 жил өмнө
parent
commit
459ae68891

+ 1 - 0
Controller/CloudStorage.py

@@ -564,6 +564,7 @@ class CloudStorageView(View):
         if not uidToken or not storeTime or not sec:
             return response.json(0)
         pass
+        sec = int(sec)
         UID = utko.UID
         channel = utko.channel
         print('UID:')

+ 1 - 0
Controller/CloudVod.py

@@ -620,6 +620,7 @@ class CloudVodView(View):
             return response.json(444, 'uidToken')
         if not uidToken or not storeTime or not sec:
             return response.json(444, 'uidToken,time,sec')
+        sec = int(sec)
         UID = utko.UID
         channel = utko.channel
         print(channel)