Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FMVip_LXJ
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhenfei.zhang
FMVip_LXJ
Commits
28cdcc64
Commit
28cdcc64
authored
Dec 01, 2017
by
Amnes1a
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
在卡券支付的返回结果中添加一个字段coupon_price,表示购券金额
parent
089ae624
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
FMVip_LXJ/task/fmp_redeem.cpp
+3
-1
No files found.
FMVip_LXJ/task/fmp_redeem.cpp
View file @
28cdcc64
...
...
@@ -297,11 +297,13 @@ QJsonObject FMPRedeem::ShowForUnConsum(QJsonObject json)
QJsonObject
pay_id
;
if
(
couponType
==
0
)
//商品券
{
pay_id
[
"pay_amount"
]
=
SearchJsonObject
(
json
,
"paid"
).
toInt
();
pay_id
[
"pay_amount"
]
=
SearchJsonObject
(
json
,
"price_act"
).
toInt
();
pay_id
[
"coupon_price"
]
=
SearchJsonObject
(
json
,
"paid"
).
toInt
();
}
else
if
(
couponType
==
1
)
//代金券
{
pay_id
[
"pay_amount"
]
=
SearchJsonObject
(
json
,
"amount"
).
toInt
();
pay_id
[
"coupon_price"
]
=
pay_id
[
"pay_amount"
];
}
pay_id
[
"pay_id"
]
=
couponType
;
pay_id
[
"pay_str"
]
=
act_name
;
...
...
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