|
@@ -197,17 +197,6 @@ class DetectControllerView(View):
|
|
|
# 判断推送类型对应key是否存在
|
|
|
print('push_type:', push_type)
|
|
|
|
|
|
- if push_type == '0':
|
|
|
- if appBundleId not in APNS_CONFIG.keys():
|
|
|
- return response.json(904)
|
|
|
- elif push_type == '1':
|
|
|
- if appBundleId not in FCM_CONFIG.keys():
|
|
|
- return response.json(904)
|
|
|
- elif push_type == '2':
|
|
|
- if appBundleId not in JPUSH_CONFIG.keys():
|
|
|
- return response.json(904)
|
|
|
- else:
|
|
|
- return response.json(173)
|
|
|
dvqs = Device_Info.objects.filter(userID_id=userID, UID=uid)
|
|
|
status = int(status)
|
|
|
# 获取用户区域
|