全部打印

This commit is contained in:
wuaho 2021-08-18 16:51:22 +08:00
parent 06570b404a
commit fbe95ee0dc

View File

@ -20,7 +20,7 @@ def dest_partition(s: str) -> int:
@router.post("/") @router.post("/")
async def point(request: Request, items: DataModel): async def point(request: Request, items: DataModel):
try: 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') app_id = items.public.get('b01') or items.public.get('#app_id')
for item in items.data: for item in items.data:
if 'track' == (item.get('#type') or item.get('b02')): if 'track' == (item.get('#type') or item.get('b02')):