handle_xx_event_2 不默认区域

This commit is contained in:
曹前明 2022-09-27 08:44:14 +08:00
parent 4d11516869
commit f22b1f6dc6
1 changed files with 0 additions and 2 deletions

View File

@ -472,8 +472,6 @@ def handle_xx_event(name: str, data: dict):
area = None
if 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.location = ep_loc_dict
event.obj_cate = 'people'