|
@@ -431,7 +431,8 @@ class CloudStorageView(View):
|
|
|
print(repr(e))
|
|
|
return response.json(10, '未购买')
|
|
|
else:
|
|
|
- ubqs.update(status=status)
|
|
|
+ ubqs.status = status
|
|
|
+ ubqs.save()
|
|
|
if status == 0:
|
|
|
return response.json(0)
|
|
|
else:
|
|
@@ -445,7 +446,6 @@ class CloudStorageView(View):
|
|
|
return response.json(0, {'uidTkUrl': uidTkUrl, 'storeHlsUrl': storeHlsUrl})
|
|
|
else:
|
|
|
return response.json(12)
|
|
|
-
|
|
|
else:
|
|
|
return response.json(444, 'uid,status,channel')
|
|
|
|