Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sbkpay
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
sbkpay
Commits
887c52d4
Commit
887c52d4
authored
Sep 30, 2018
by
李定达
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.1438支付json透传;2.修改版本号
parent
71e6b9f0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
14 deletions
+15
-14
sbkpay/rspfactory.h
+13
-12
sbkpay/version.h
+2
-2
No files found.
sbkpay/rspfactory.h
View file @
887c52d4
...
...
@@ -148,18 +148,19 @@ private:
static
bool
GetPayResponse
(
QJsonObject
&
response
,
const
QJsonObject
&
json
)
{
response
[
JSON_KEY_STATUSCODE
]
=
FMTool
::
GetJsonValue
(
json
,
JSON_KEY_STATUSCODE
).
toInt
();
response
[
JSON_KEY_MESSAGE
]
=
FMTool
::
GetJsonValue
(
json
,
JSON_KEY_MESSAGE
).
toString
();
response
[
JSON_KEY_EXT
]
=
FMTool
::
GetJsonValue
(
json
,
JSON_KEY_EXT
).
toObject
();
response
[
JSON_KEY_FMID
]
=
FMTool
::
GetJsonValue
(
json
,
JSON_KEY_FMID
).
toString
();
response
[
JSON_KEY_PAYACCOUNT
]
=
FMTool
::
GetJsonValue
(
json
,
JSON_KEY_PAYACCOUNT
).
toString
();
response
[
JSON_KEY_PAYTRANSID
]
=
FMTool
::
GetJsonValue
(
json
,
JSON_KEY_PAYTRANSID
).
toString
();
response
[
JSON_KEY_TYPE
]
=
FMTool
::
GetJsonValue
(
json
,
JSON_KEY_TYPE
).
toInt
();
response
[
JSON_KEY_PAYMENTMETHOD
]
=
FMTool
::
GetJsonValue
(
json
,
JSON_KEY_PAYMENTMETHOD
).
toString
();
response
[
JSON_KEY_PAYMENTMETHODCODE
]
=
FMTool
::
GetJsonValue
(
json
,
JSON_KEY_PAYMENTMETHODCODE
).
toString
();
response
[
JSON_KEY_TRANSAMOUNT
]
=
FMTool
::
GetJsonValue
(
json
,
JSON_KEY_TRANSAMOUNT
).
toInt
();
response
[
JSON_KEY_MERDISCOUNT
]
=
FMTool
::
GetJsonValue
(
json
,
JSON_KEY_MERDISCOUNT
).
toInt
();
response
[
JSON_KEY_PLTDISCOUNT
]
=
FMTool
::
GetJsonValue
(
json
,
JSON_KEY_PLTDISCOUNT
).
toInt
();
// response[JSON_KEY_STATUSCODE] = FMTool::GetJsonValue(json, JSON_KEY_STATUSCODE).toInt();
// response[JSON_KEY_MESSAGE] = FMTool::GetJsonValue(json, JSON_KEY_MESSAGE).toString();
// response[JSON_KEY_EXT] = FMTool::GetJsonValue(json, JSON_KEY_EXT).toObject();
// response[JSON_KEY_FMID] = FMTool::GetJsonValue(json, JSON_KEY_FMID).toString();
// response[JSON_KEY_PAYACCOUNT] = FMTool::GetJsonValue(json, JSON_KEY_PAYACCOUNT).toString();
// response[JSON_KEY_PAYTRANSID] = FMTool::GetJsonValue(json, JSON_KEY_PAYTRANSID).toString();
// response[JSON_KEY_TYPE] = FMTool::GetJsonValue(json, JSON_KEY_TYPE).toInt();
// response[JSON_KEY_PAYMENTMETHOD] = FMTool::GetJsonValue(json, JSON_KEY_PAYMENTMETHOD).toString();
// response[JSON_KEY_PAYMENTMETHODCODE] = FMTool::GetJsonValue(json, JSON_KEY_PAYMENTMETHODCODE).toString();
// response[JSON_KEY_TRANSAMOUNT] = FMTool::GetJsonValue(json, JSON_KEY_TRANSAMOUNT).toInt();
// response[JSON_KEY_MERDISCOUNT] = FMTool::GetJsonValue(json, JSON_KEY_MERDISCOUNT).toInt();
// response[JSON_KEY_PLTDISCOUNT] = FMTool::GetJsonValue(json, JSON_KEY_PLTDISCOUNT).toInt();
response
=
json
;
return
true
;
}
...
...
sbkpay/version.h
View file @
887c52d4
...
...
@@ -5,7 +5,7 @@
#define VER_MINOR 2
#define VER_REVISION 7
#define VER_BUILD
3
#define VER_BUILD
4
//! Convert version numbers to string
#define _STR(S) #S
...
...
@@ -21,7 +21,7 @@
#define RES_STR_PRODUCT_VER MAK_VER(VER_MAJOR, VER_MINOR, VER_REVISION, VER_BUILD)
#define RES_COMPANY_NAME "上海非码网络科技有限公司\0"
#define RES_COPYRIGHT "Freemud Ltd. Copyright (C) 2014-2018\0"
#define RES_FILE_DESC "sbkpay\0"
#define RES_FILE_DESC "sbkpay
(1438)
\0"
#define RES_INTER_NAME "sbkpay\0"
#define RES_FILE_NAME "sbkpay\0"
#define RES_PRODUCT_NAME "sbkpay\0"
...
...
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