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
66e30339
Commit
66e30339
authored
Apr 19, 2021
by
etscript
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
78c50c93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
order_service.py
app/service/order_service.py
+1
-1
No files found.
app/service/order_service.py
View file @
66e30339
...
@@ -528,7 +528,7 @@ def getAllOrders(args):
...
@@ -528,7 +528,7 @@ def getAllOrders(args):
curriculum_res
=
{
r
[
0
]:
{
'title'
:
r
[
1
],
'cover'
:
r
[
2
],
'info'
:
r
[
3
]}
for
r
in
curriculum_res
}
curriculum_res
=
{
r
[
0
]:
{
'title'
:
r
[
1
],
'cover'
:
r
[
2
],
'info'
:
r
[
3
]}
for
r
in
curriculum_res
}
zhibo
=
{
r
[
0
]:
{
'title'
:
r
[
1
],
'cover'
:
r
[
2
],
'info'
:
r
[
3
],
'zb_start_time'
:
int
(
r
[
4
]
.
timestamp
())
if
r
[
4
]
else
0
}
for
r
in
zhibo
}
zhibo
=
{
r
[
0
]:
{
'title'
:
r
[
1
],
'cover'
:
r
[
2
],
'info'
:
r
[
3
],
'zb_start_time'
:
int
(
r
[
4
]
.
timestamp
())
if
r
[
4
]
else
0
}
for
r
in
zhibo
}
zhibo_file
=
{
r
[
0
]:
{
'title'
:
r
[
1
]}
for
r
in
zhibo_file
}
zhibo_file
=
{
r
[
0
]:
{
'title'
:
r
[
1
]}
for
r
in
zhibo_file
}
course_package
=
{
r
[
0
]:
{
'
main_
title'
:
r
[
1
],
'square_img'
:
r
[
2
],
'bg_status'
:
r
[
3
],
'bg_img'
:
r
[
4
]}
for
r
in
course_package
}
course_package
=
{
r
[
0
]:
{
'title'
:
r
[
1
],
'square_img'
:
r
[
2
],
'bg_status'
:
r
[
3
],
'bg_img'
:
r
[
4
]}
for
r
in
course_package
}
allowed
=
{
'id'
,
'title'
,
'cover'
,
'info'
,
'ab_type'
,
'ab_payment'
,
'ab_score'
,
'ab_pay_mode'
,
'ab_ordernum'
,
allowed
=
{
'id'
,
'title'
,
'cover'
,
'info'
,
'ab_type'
,
'ab_payment'
,
'ab_score'
,
'ab_pay_mode'
,
'ab_ordernum'
,
'transaction_serial_no'
,
'pay_method'
,
'createtime'
,
'pay_time'
,
'complete_time'
,
'transaction_serial_no'
,
'pay_method'
,
'createtime'
,
'pay_time'
,
'complete_time'
,
...
...
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