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
d9753845
Commit
d9753845
authored
Apr 25, 2021
by
etscript
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
2cf419b2
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 @
d9753845
...
@@ -366,10 +366,10 @@ class CurriculumOrderService:
...
@@ -366,10 +366,10 @@ class CurriculumOrderService:
elif
args
[
'ab_pay_mode'
]
==
8
:
elif
args
[
'ab_pay_mode'
]
==
8
:
# 微信公众号支付
# 微信公众号支付
# 特殊情况,广告推广支付
# 特殊情况,广告推广支付
ad
=
args
.
get
(
"ad"
)
#
ad = args.get("ad")
if
ad
==
'April'
:
#
if ad == 'April':
args
.
pop
(
'ad'
,
''
)
#
args.pop('ad', '')
subject
=
subject
+
',ad='
+
ad
# subject = subject
wx_pay
=
wx_jsapi_pay
.
WXPay
(
args
[
'openid'
],
out_trade_no
,
subject
,
args
[
'ab_payment'
],
args
[
'remote_addr'
],
notify_url
)
wx_pay
=
wx_jsapi_pay
.
WXPay
(
args
[
'openid'
],
out_trade_no
,
subject
,
args
[
'ab_payment'
],
args
[
'remote_addr'
],
notify_url
)
params
=
wx_pay
.
getReturnParams
()
params
=
wx_pay
.
getReturnParams
()
pay_params
=
params
pay_params
=
params
...
...
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