全部打印
This commit is contained in:
parent
06570b404a
commit
fbe95ee0dc
@ -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')):
|
||||||
|
Loading…
Reference in New Issue
Block a user