Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmp_epay
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
fmp_epay
Commits
ce042fee
Commit
ce042fee
authored
Sep 11, 2017
by
gujin.wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建鲜芋仙分支
parent
96735c51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
fmp_epayview_dialog.cpp
+1
-1
No files found.
fmp_epayview_dialog.cpp
View file @
ce042fee
...
@@ -1139,7 +1139,7 @@ void FMPPayDialog::redeem()
...
@@ -1139,7 +1139,7 @@ void FMPPayDialog::redeem()
FMPRedeemInterface
*
redeem
=
FMP
::
GetService
<
FMPRedeemInterface
>
();
FMPRedeemInterface
*
redeem
=
FMP
::
GetService
<
FMPRedeemInterface
>
();
redeem
->
StartService
();
redeem
->
StartService
();
QJsonObject
result
=
redeem
->
Redeem
(
needPay
,
_products_info
);
QJsonObject
result
=
redeem
->
Redeem
(
_products_info
);
FMP_DEBUG
()
<<
"redeem result: "
<<
result
;
FMP_DEBUG
()
<<
"redeem result: "
<<
result
;
needPay
-=
result
[
"discount"
].
toInt
()
/
100.0
;
needPay
-=
result
[
"discount"
].
toInt
()
/
100.0
;
ui
->
lineedit_num
->
setText
(
QString
::
number
(
qMax
(
0.0
,
needPay
)));
ui
->
lineedit_num
->
setText
(
QString
::
number
(
qMax
(
0.0
,
needPay
)));
...
...
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