|
@@ -265,7 +265,7 @@ class PaypalCycleNotify(View):
|
|
|
sys_msg_text_list = ['温馨提示:尊敬的客户,您的' + device_name + '设备在' + datetime + '已成功订阅云存套餐',
|
|
|
'Dear customer,you already subscribed the cloud storage package successfully for device ' + device_name + ' on ' + time.strftime(
|
|
|
"%b %dth,%Y", time.localtime())]
|
|
|
- CloudStorage.CloudStorageView.do_vod_msg_Notice(self, UID, channel, userid, lang, sys_msg_text_list, 'SMS_219738485')
|
|
|
+ CloudStorage.CloudStorageView().do_vod_msg_Notice(UID, channel, userid, lang, sys_msg_text_list, 'SMS_219738485')
|
|
|
|
|
|
# return response.json(0)
|
|
|
red_url = "{SERVER_DOMAIN_SSL}web/paid2/success.html".format(SERVER_DOMAIN_SSL=SERVER_DOMAIN_SSL)
|
|
@@ -442,7 +442,7 @@ class PaypalCycleNotify(View):
|
|
|
lang = 'en'
|
|
|
else:
|
|
|
lang = 'cn'
|
|
|
- CloudStorage.CloudStorageView.do_vod_msg_Notice(self, UID, channel, userid, lang,
|
|
|
+ CloudStorage.CloudStorageView().do_vod_msg_Notice(UID, channel, userid, lang,
|
|
|
sys_msg_text_list, 'SMS_219738485')
|
|
|
logger.info('-----------------------result')
|
|
|
logger.info('success')
|
|
@@ -616,7 +616,7 @@ class PaypalCycleNotify(View):
|
|
|
lang = 'en'
|
|
|
else:
|
|
|
lang = 'cn'
|
|
|
- CloudStorage.CloudStorageView.do_vod_msg_Notice(self, UID, channel, userid, lang,
|
|
|
+ CloudStorage.CloudStorageView().do_vod_msg_Notice(UID, channel, userid, lang,
|
|
|
sys_msg_text_list, 'SMS_219738485')
|
|
|
return HttpResponse('success')
|
|
|
except Exception as e:
|