Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmp_home
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_home
Commits
0e47e6b8
Commit
0e47e6b8
authored
Sep 11, 2017
by
gujin.wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改调用核销接口的方式
parent
139e5e3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
7 deletions
+1
-7
fmp_home_p.cpp
+1
-7
No files found.
fmp_home_p.cpp
View file @
0e47e6b8
...
...
@@ -76,13 +76,7 @@ int FMPHomePrivate::Init()
if
(
svcRedeem
)
{
svcRedeem
->
StartService
();
QJsonArray
products
;
QJsonObject
product
;
product
[
"consume_num"
]
=
1
;
product
[
"pid"
]
=
"1607271"
;
product
[
"price"
]
=
500
;
products
.
append
(
product
);
QJsonObject
result
=
svcRedeem
->
Redeem
(
products
);
QJsonObject
result
=
svcRedeem
->
Redeem
(
QJsonArray
());
FMP_DEBUG
()
<<
result
;
}
});
...
...
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