diff --git a/commands/product.py b/commands/product.py index 1a61ae6..1564b54 100755 --- a/commands/product.py +++ b/commands/product.py @@ -59,6 +59,6 @@ def order(name, realm, seed, product_id): **OTPCredentials(name, realm, seed).get_json(), "product_id": product_id } - r = requests.post("{}/order/product".format(config('UCLOUD_PAY_SERVER')), + r = requests.post("{}/product/order".format(config('UCLOUD_PAY_SERVER')), json=data) print(load_dump_pretty(r.content)) \ No newline at end of file