Просмотр исходного кода

重置设备云存和重置设备主用户记录操作日志,云存短信提示 尊重-> 尊敬2

locky 4 лет назад
Родитель
Сommit
fcc402e1bd
1 измененных файлов с 7 добавлено и 7 удалено
  1. 7 7
      Controller/CloudStorage.py

+ 7 - 7
Controller/CloudStorage.py

@@ -784,7 +784,7 @@ class CloudStorageView(View):
 
                     order_qs.update(status=1, updTime=nowTime, uid_bucket_id=uid_bucket_id)
                     datetime = time.strftime("%Y-%m-%d", time.localtime())
-                    sys_msg_text_list = ['温馨提示:尊的客户,您的'+UID+'设备在'+datetime+'已成功购买云存套餐', 'Warm tips: Dear customers, your '+UID+' device has successfully purchased the cloud storage package in '+datetime]
+                    sys_msg_text_list = ['温馨提示:尊的客户,您的'+UID+'设备在'+datetime+'已成功购买云存套餐', 'Warm tips: Dear customers, your '+UID+' device has successfully purchased the cloud storage package in '+datetime]
                     self.do_vod_msg_Notice(UID, channel, userid, lang, sys_msg_text_list, 'SMS_217407207')
                     red_url = "{SERVER_DOMAIN_SSL}web/paid2/success.html".format(SERVER_DOMAIN_SSL=SERVER_DOMAIN_SSL)
                     if lang != 'cn':
@@ -890,7 +890,7 @@ class CloudStorageView(View):
 
                 order_qs.update(status=1, updTime=nowTime, uid_bucket_id=uid_bucket_id)
                 datetime = time.strftime("%Y-%m-%d", time.localtime())
-                sys_msg_text_list = ['温馨提示:尊的客户,您的' + UID + '设备在' + datetime + '已成功购买云存套餐',
+                sys_msg_text_list = ['温馨提示:尊的客户,您的' + UID + '设备在' + datetime + '已成功购买云存套餐',
                                      'Warm tips: Dear customers, your '+UID+' device has successfully purchased the cloud storage package in '+datetime]
 
                 self.do_vod_msg_Notice(UID, channel, userid, lang, sys_msg_text_list, 'SMS_217407207')
@@ -993,7 +993,7 @@ class CloudStorageView(View):
 
                     order_qs.update(status=1, updTime=nowTime, uid_bucket_id=uid_bucket_id)
                     datetime = time.strftime("%Y-%m-%d", time.localtime())
-                    sys_msg_text_list = ['温馨提示:尊的客户,您的' + UID + '设备在' + datetime + '已成功购买云存套餐',
+                    sys_msg_text_list = ['温馨提示:尊的客户,您的' + UID + '设备在' + datetime + '已成功购买云存套餐',
                                          'Warm tips: Dear customers, your '+UID+' device has successfully purchased the cloud storage package in '+datetime]
                     self.do_vod_msg_Notice(UID, channel, userid, lang, sys_msg_text_list, 'SMS_217407207')
                     return HttpResponse(pay.xml_to_dict({'return_code': 'SUCCESS', 'return_msg': 'OK'}))
@@ -1274,7 +1274,7 @@ class CloudStorageView(View):
                 #     UIDMainUser.objects.create(**uid_main_dict)
                 sms = 'SMS_217407207'
                 datetime = time.strftime("%Y-%m-%d", time.localtime())
-                sys_msg_text_list = ['温馨提示:尊的客户,您的' + uid + '设备在' + datetime + '已成功购买云存套餐',
+                sys_msg_text_list = ['温馨提示:尊的客户,您的' + uid + '设备在' + datetime + '已成功购买云存套餐',
                                      'Warm tips: Dear customers, your '+uid+' device has successfully purchased the cloud storage package in '+datetime]
                 # return response.json(0)
                 returnurl = "{SERVER_DOMAIN_SSL}cloudstorage/payOK?lang={lang}".format(SERVER_DOMAIN_SSL=SERVER_DOMAIN_SSL,lang=lang)
@@ -1286,7 +1286,7 @@ class CloudStorageView(View):
                     )
                     returnurl = "{SERVER_DOMAIN_SSL}cloudstorage/payOK?paytype=10&lang={lang}".format(SERVER_DOMAIN_SSL=SERVER_DOMAIN_SSL,lang=lang)
                     datetime = time.strftime("%Y-%m-%d", time.localtime())
-                    sys_msg_text_list = ['温馨提示:尊的客户,您的' + uid + '设备在' + datetime + '已成功体验云存',
+                    sys_msg_text_list = ['温馨提示:尊的客户,您的' + uid + '设备在' + datetime + '已成功体验云存',
                                          'Warm tips: respected customers, your '+uid+' device has successfully experienced cloud storage in '+datetime]
                     sms = 'SMS_217407311'
                 if pay_type == 11:
@@ -1297,7 +1297,7 @@ class CloudStorageView(View):
                     returnurl = "{SERVER_DOMAIN_SSL}cloudstorage/payOK?paytype=11&lang={lang}".format(SERVER_DOMAIN_SSL=SERVER_DOMAIN_SSL,lang=lang)
 
                     datetime = time.strftime("%Y-%m-%d", time.localtime())
-                    sys_msg_text_list = ['温馨提示:尊的客户,您的' + uid + '设备在' + datetime + '已成功兑换云存',
+                    sys_msg_text_list = ['温馨提示:尊的客户,您的' + uid + '设备在' + datetime + '已成功兑换云存',
                                          'Warm tips: Dear customers, your '+uid+' device has been successfully converted to cloud deposit at '+datetime]
                     sms = 'SMS_217417315'
 
@@ -1516,7 +1516,7 @@ class CloudStorageView(View):
             for oo in oqlist:
                 if ub['id'] == oo['uid_bucket_id']:
                     if ub['bucket__area'] == 'cn':
-                        sys_msg_text = "温馨提示:尊的客户,您" + ub['uid'] + "设备的云存套餐将在" + time.strftime("%Y-%m-%d", time.localtime(ub['endTime'])) + "到期"
+                        sys_msg_text = "温馨提示:尊的客户,您" + ub['uid'] + "设备的云存套餐将在" + time.strftime("%Y-%m-%d", time.localtime(ub['endTime'])) + "到期"
                     else:
                         sys_msg_text = "Warm tips: Dear customers, the cloud storage package of your " + ub['uid'] + " device will expire at " + time.strftime("%Y-%m-%d", time.localtime(ub['endTime']))
                     uq_list.append(SysMsgModel(