handle_xx_event_2 不默认区域
This commit is contained in:
parent
4d11516869
commit
f22b1f6dc6
|
@ -472,8 +472,6 @@ def handle_xx_event(name: str, data: dict):
|
||||||
area = None
|
area = None
|
||||||
if ep_loc_dict['area_fix_id']:
|
if ep_loc_dict['area_fix_id']:
|
||||||
area = Area.objects.get(id=ep_loc_dict['area_fix_id'])
|
area = Area.objects.get(id=ep_loc_dict['area_fix_id'])
|
||||||
else:
|
|
||||||
area = Area.objects.get(id='1569585234968711168')
|
|
||||||
event.area = area
|
event.area = area
|
||||||
event.location = ep_loc_dict
|
event.location = ep_loc_dict
|
||||||
event.obj_cate = 'people'
|
event.obj_cate = 'people'
|
||||||
|
|
Loading…
Reference in New Issue