Change url of the request
This commit is contained in:
parent
ccde9d9f5b
commit
1fbb5974f2
1 changed files with 1 additions and 1 deletions
|
@ -59,6 +59,6 @@ def order(name, realm, seed, product_id):
|
||||||
**OTPCredentials(name, realm, seed).get_json(),
|
**OTPCredentials(name, realm, seed).get_json(),
|
||||||
"product_id": product_id
|
"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)
|
json=data)
|
||||||
print(load_dump_pretty(r.content))
|
print(load_dump_pretty(r.content))
|
Loading…
Reference in a new issue