pengzhibo168 5 年之前
父節點
當前提交
ed32c34d9e
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Controller/DetectController.py

+ 2 - 1
Controller/DetectController.py

@@ -189,7 +189,8 @@ class NotificationView(View):
                 elif push_type == 1:  # android gcm
                     self.do_fcm(**kwag_args)
                 elif push_type == 2:  # android jpush
-                    return JsonResponse(status=200, data={'code': 0, '状态:': self.do_jpush(**kwag_args)})
+                    do_jpush_code = self.do_jpush(**kwag_args)
+                    # return JsonResponse(status=200, data={'code': 0, '状态:': self.do_jpush(**kwag_args)})
             # 以下是存库
             userID_id = up["userID_id"]
             int_is_st = int(is_st)