Commit 02ec4a22 authored by etscript's avatar etscript

fix bug

parent 64201357
......@@ -257,15 +257,14 @@ class CurriculumOrderService:
OrderFlow.ab_status == 'SUCCESS').all()
if repeat_buy:
raise CustomFlaskErr(Errors.REPEAT_BUY)
if args['ab_type'] == "300":
if args['ab_type'] == 300:
data = {
"payReqs": [{"resId": args['ab_proid']}],
"userId": args['user_id']
}
headers = {
"Content-Type": "application/json",
"tampToken": args['tampToken'],
# "tampToken": args['tampToken'],
"env": args['env']
}
amount = requests.post(course_price_api,
......
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