Explorar o código

update test sts

lang %!s(int64=4) %!d(string=hai) anos
pai
achega
803d6fda9b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Controller/CloudStorage.py

+ 2 - 2
Controller/CloudStorage.py

@@ -352,7 +352,7 @@ class CloudStorageView(View):
             sts_qs = StsCrdModel.objects.filter(uid=uid, channel=channel). \
                 values("addTime", "data")
             if sts_qs.exists():
-                endTime = int(sts_qs[0]["addTime"]) + 800
+                endTime = int(sts_qs[0]["addTime"]) + 500
                 if endTime > now_time:
                     print(endTime)
                     print(now_time)
@@ -441,7 +441,7 @@ class CloudStorageView(View):
             sts_qs = StsCrdModel.objects.filter(uid=uid, channel=channel). \
                 values("addTime", "data")
             if sts_qs.exists():
-                endTime = int(sts_qs[0]["addTime"]) + 800
+                endTime = int(sts_qs[0]["addTime"]) + 300
                 # if reset == '0':
                 #     print(endTime)
                 #     print(now_time)