This commit is contained in:
parent
eadff66eb6
commit
3dc955698e
@ -10,6 +10,7 @@ from uuid import uuid4 as uuid
|
|||||||
from jinja2 import Environment, FileSystemLoader
|
from jinja2 import Environment, FileSystemLoader
|
||||||
from weasyprint import HTML
|
from weasyprint import HTML
|
||||||
import json
|
import json
|
||||||
|
import time
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
@ -349,6 +350,7 @@ class TCGPlayerAPIService:
|
|||||||
method='POST',
|
method='POST',
|
||||||
files={'file': file}
|
files={'file': file}
|
||||||
)
|
)
|
||||||
|
time.sleep(10)
|
||||||
return order_ids
|
return order_ids
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
@ -18,4 +18,4 @@ curl -X POST "http://192.168.1.41:8000/api/boxes/d95d26a8-1f82-47f2-89fa-3f88a46
|
|||||||
|
|
||||||
curl -X POST "http://192.168.1.41:8000/api/processOrders" \
|
curl -X POST "http://192.168.1.41:8000/api/processOrders" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"order_ids": ["E576ED4C-AD8CC8-9E57E"]}'
|
-d '{"order_ids": ["E576ED4C-2EC48E-7F185"]}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user