Browse Source

修复发送云存系统消息错误3

locky 3 năm trước cách đây
mục cha
commit
29ec99d65b
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      Controller/PaymentCycle.py

+ 3 - 3
Controller/PaymentCycle.py

@@ -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(UID, channel, userid, lang, sys_msg_text_list, 'SMS_219738485')
+                CloudStorage.CloudStorageView.do_vod_msg_Notice(self, 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(UID, channel, userid, lang,
+                        CloudStorage.CloudStorageView.do_vod_msg_Notice(self, 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(UID, channel, userid, lang,
+                        CloudStorage.CloudStorageView.do_vod_msg_Notice(self, UID, channel, userid, lang,
                                                                         sys_msg_text_list, 'SMS_219738485')
                         return HttpResponse('success')
                 except Exception as e: