|
@@ -37,6 +37,9 @@ class Test(View):
|
|
|
# return JsonResponse(status=200,data={
|
|
|
# 'code': 173,
|
|
|
# 'msg': 'data is not exist'})
|
|
|
+ test_push_type = request_dict.get('test_push_type')
|
|
|
+ if test_push_type == 'jpush':
|
|
|
+ return self.jgPush(request_dict)
|
|
|
return self.do_fcm_push(request)
|
|
|
return self.do_gcm_push(request)
|
|
|
return self.do_alipay_query_status()
|