|
@@ -584,9 +584,9 @@ class CloudStorageView(View):
|
|
utko = UidTokenObject()
|
|
utko = UidTokenObject()
|
|
utko.generate(data={'uid': uid, 'channel': channel})
|
|
utko.generate(data={'uid': uid, 'channel': channel})
|
|
uidTkUrl = "{SERVER_DOMAIN}cloudstorage/getsignsts?uidToken={uidToken}". \
|
|
uidTkUrl = "{SERVER_DOMAIN}cloudstorage/getsignsts?uidToken={uidToken}". \
|
|
- format(uidToken=utko, SERVER_DOMAIN=SERVER_DOMAIN)
|
|
|
|
|
|
+ format(uidToken=utko.token, SERVER_DOMAIN=SERVER_DOMAIN)
|
|
storeHlsUrl = "{SERVER_DOMAIN}cloudstorage/storeplaylist?uidToken={uidToken}". \
|
|
storeHlsUrl = "{SERVER_DOMAIN}cloudstorage/storeplaylist?uidToken={uidToken}". \
|
|
- format(uidToken=utko, SERVER_DOMAIN=SERVER_DOMAIN)
|
|
|
|
|
|
+ format(uidToken=utko.token, SERVER_DOMAIN=SERVER_DOMAIN)
|
|
return response.json(0, {'uidTkUrl': uidTkUrl, 'storeHlsUrl': storeHlsUrl})
|
|
return response.json(0, {'uidTkUrl': uidTkUrl, 'storeHlsUrl': storeHlsUrl})
|
|
|
|
|
|
def do_pay_error(self):
|
|
def do_pay_error(self):
|