From 14a5160bf05d3bd845cf657bf57e7a181af916bc Mon Sep 17 00:00:00 2001 From: pengtao Date: Mon, 20 Dec 2021 11:40:36 +0800 Subject: [PATCH] 1 --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index b5ed796..bc8fea8 100644 --- a/main.py +++ b/main.py @@ -194,6 +194,7 @@ async def getgameprice(request: Request, oldGameId: int, nums: int = 0): {"_id": 0}) else: gameprice = db["gameprice"].find({"oldGameId": oldGameId}, {"_id": 0}) + print(gameprice) if gameprice: price = gameprice.get('prices', []) gameprice['prices'] = price[:nums]