WuYiPei 5 vuotta sitten
vanhempi
commit
8cae84b7a4
1 muutettua tiedostoa jossa 0 lisäystä ja 7 poistoa
  1. 0 7
      Controller/DetectController.py

+ 0 - 7
Controller/DetectController.py

@@ -218,12 +218,8 @@ class NotificationView(View):
                         uid=uid,
                         eventType=event_type))
                 userID_ids.append(userID_id)
-        # 是否是系统消息
-        test_str = ''
-        test_is_sys_msg = is_sys_msg
         if is_sys_msg:
             SysMsgModel.objects.bulk_create(sys_msg_list)
-            test_str = 'tesing'
         Equipment_Info.objects.bulk_create(eq_list)
 
         if is_st == '0' or is_st == '2':
@@ -236,9 +232,6 @@ class NotificationView(View):
                 elif up['push_type'] == 2:  # android jpush
                     up['do_jpush_code'] = do_jpush_code
                 up['test_or_www'] = SERVER_TYPE
-                #测试字符串
-                up['test_str'] = test_str
-                up['test_is_sys_msg'] = test_is_sys_msg
                 del up['push_type']
                 del up['userID_id']
                 del up['userID__NickName']