Commit c0f0fd70 authored by etscript's avatar etscript

fix bug

parent 38a95e39
...@@ -260,7 +260,7 @@ class CurriculumOrderService: ...@@ -260,7 +260,7 @@ class CurriculumOrderService:
if repeat_buy: if repeat_buy:
raise CustomFlaskErr(Errors.REPEAT_BUY) raise CustomFlaskErr(Errors.REPEAT_BUY)
if args['ab_type'] == 300 and args.get('ad') == 'April': if args['ab_type'] == 300 and args.get('ad') == 'April':
amount = requests.get(ad_course_price_api + args.get('ad_id'), amount = requests.get(ad_course_rollback_api + args.get('ad_id'),
timeout = 5) timeout = 5)
try: try:
amount = amount.json() amount = amount.json()
......
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