lang 4 жил өмнө
parent
commit
468edbdc75

+ 1 - 1
Controller/CloudStorage.py

@@ -652,7 +652,7 @@ class CloudStorageView(View):
         dvqs = Device_Info.objects.filter(UID=uid, userID_id=userID, isShare=False)
         if not dvqs.exists():
             return response.json(12)
-        ubqs = UID_Bucket.objects.filter(channel=channel, uid=uid).order_by('endTime')[:1]
+        ubqs = UID_Bucket.objects.filter(channel=channel, uid=uid).order_by('endTime')
         if not ubqs.exists():
             return response.json(10, '未购买')
         now_time = int(time.time())