From fbe95ee0dcf4d5a5782bbd2cecd8b60cffac56fa Mon Sep 17 00:00:00 2001 From: wuaho Date: Wed, 18 Aug 2021 16:51:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E9=83=A8=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routers/point.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/point.py b/routers/point.py index beb7e10..04bce87 100644 --- a/routers/point.py +++ b/routers/point.py @@ -20,7 +20,7 @@ def dest_partition(s: str) -> int: @router.post("/") async def point(request: Request, items: DataModel): try: - uid = items.public.get('x02') + uid = items.public.get('x02') or items.public.get('#account_id') app_id = items.public.get('b01') or items.public.get('#app_id') for item in items.data: if 'track' == (item.get('#type') or item.get('b02')):