Commit 8986a02d authored by etscript's avatar etscript

fix bug

parent e07c12c6
......@@ -290,7 +290,7 @@ class CurriculumOrderService:
try:
amount = amount.json()
amount = amount[args['ab_proid']]
if amount["finalChargeMode"] == 2:
if amount["finalChargeMode"] == 3:
amount = [int(amount["finalPrice"])]
else:
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