Commit 0834c959 authored by etscript's avatar etscript

fix bug

parent c0f0fd70
......@@ -264,7 +264,7 @@ class CurriculumOrderService:
timeout = 5)
try:
amount = amount.json()
amount = [float(amount["attributes"]["bargainPrice"]) / 100]
amount = [int(amount["attributes"]["bargainPrice"])]
except:
raise CustomFlaskErr(Errors.PROD_NOPRICE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment