|
@@ -259,6 +259,8 @@ class CloudStorageView(View):
|
|
|
now_time = int(time.time())
|
|
|
ubqs = UID_Bucket.objects.filter(uid=uid, channel=channel, endTime__gte=now_time). \
|
|
|
values("bucket__mold", "bucket__bucket", "bucket__endpoint", "bucket__region", "endTime")
|
|
|
+ print('-------------bucket')
|
|
|
+ print(ubqs)
|
|
|
if ubqs.exists():
|
|
|
if ubqs[0]["bucket__mold"] == 0:
|
|
|
# 阿里云 oss sts
|