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