Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmp_vip
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_vip
Commits
630ae302
Commit
630ae302
authored
Sep 18, 2017
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 认证和支付返回账户余额和积分信息。
parent
2c62a2ab
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
task/tasklogin.cpp
+2
-0
task/taskpay.cpp
+2
-0
No files found.
task/tasklogin.cpp
View file @
630ae302
...
...
@@ -26,6 +26,8 @@ void TaskLogin::packagePOSRsp()
p
.
push_back
(
PosProps
.
StatusCode
);
p
.
push_back
(
PosProps
.
Msg
);
p
.
push_back
(
PosProps
.
Fm_open_id
);
p
.
push_back
(
PosProps
.
Amount
);
p
.
push_back
(
PosProps
.
Score
);
p
.
push_back
(
PosProps
.
Mobile
);
p
.
push_back
(
PosProps
.
Name
);
foreach
(
QString
prop
,
p
)
{
...
...
task/taskpay.cpp
View file @
630ae302
...
...
@@ -119,6 +119,8 @@ void TaskPay::packagePOSRsp()
posRspJsonObj
[
"forward"
]
=
posReqJsonObj
[
"forward"
];
posRspJsonObj
[
PosProps
.
Mobile
]
=
session
()
->
data
(
PosProps
.
Mobile
).
toString
();
posRspJsonObj
[
PosProps
.
Name
]
=
session
()
->
data
(
PosProps
.
Name
).
toString
();
posRspJsonObj
[
PosProps
.
Amount
]
=
session
()
->
data
(
PosProps
.
Amount
).
toInt
()
-
codeAmount
;
posRspJsonObj
[
PosProps
.
Score
]
=
session
()
->
data
(
PosProps
.
Score
).
toInt
()
-
scoreAmount
;
}
void
TaskPay
::
onPay
()
...
...
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