From 25e56b4bd057cf31a84a60fdc5274bf9eccfbeed Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 9 May 2023 09:51:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9F=A5=E8=AF=A2=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=8F=AF=E8=BF=94=E5=9B=9E=E6=9B=B4=E8=AF=A6?= =?UTF-8?q?=E7=BB=86=E7=9A=84=E5=AE=9A=E4=BD=8D=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/ecm/service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/ecm/service.py b/apps/ecm/service.py index 7cb27cee..d875b5b1 100644 --- a/apps/ecm/service.py +++ b/apps/ecm/service.py @@ -422,6 +422,7 @@ def loc_change(data): ep_loc_dict['area_temp_id'] = area_temp['id'] if area_temp else None ep_loc_dict['time2'] = time2 if area_fix and ep_loc_dict['area_fix_id'] == area_fix['id']: + ep_loc_dict['area_fix_name'] = area_fix.get('name', None) # 兼容性处理,后续可去除 # 如果停留在该区域 cache.set(key_str, ep_loc_dict, timeout=None) # 在该固定区域停留时间(分钟)