Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tamp_course_order
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭熊
tamp_course_order
Commits
c44f4f59
Commit
c44f4f59
authored
Apr 23, 2021
by
etscript
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
02ec4a22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
order_service.py
app/service/order_service.py
+4
-4
No files found.
app/service/order_service.py
View file @
c44f4f59
...
...
@@ -425,10 +425,10 @@ def consumeSucessAction(order_no, transaction_id):
'complete_time'
:
datetime
.
datetime
.
now
()
})
if
curriculum_order
.
ab_type
==
'300'
:
data
=
{
"resId"
:
curriculum_order
.
ab_proid
,
"userId"
:
curriculum_order
.
user_id
,
"phone"
:
curriculum_order
.
register_phone
}
if
curriculum_order
.
get
(
'ab_type'
)
==
'300'
:
data
=
{
"resId"
:
curriculum_order
.
get
(
'ab_proid'
)
,
"userId"
:
curriculum_order
.
get
(
'user_id'
)
,
"phone"
:
curriculum_order
.
get
(
'register_phone'
)
}
headers
=
{
"Content-Type"
:
"application/json"
,
"env"
:
"ios"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment