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
89c1c338
Commit
89c1c338
authored
Nov 22, 2017
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 增加支付查询插件支持。
parent
5542399f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletions
+16
-1
fmvip/fmvipdispatcher.cpp
+14
-0
fmvip/global.h
+1
-0
version.h
+1
-1
No files found.
fmvip/fmvipdispatcher.cpp
View file @
89c1c338
...
@@ -82,6 +82,20 @@ void FMVipDispatcher::doTask(const QByteArray &reqData, QByteArray &rspData)
...
@@ -82,6 +82,20 @@ void FMVipDispatcher::doTask(const QByteArray &reqData, QByteArray &rspData)
rspData
=
QString
::
fromLocal8Bit
(
"{
\"
msg:
\"
:
\"
支付服务不可用
\"
}"
).
toUtf8
();
rspData
=
QString
::
fromLocal8Bit
(
"{
\"
msg:
\"
:
\"
支付服务不可用
\"
}"
).
toUtf8
();
}
}
break
;
break
;
}
case
FM_QR_QUERY
:
{
if
(
_ctx
)
{
ctkServiceReference
ref
=
_ctx
->
getServiceReference
<
FMPePayInterface
>
();
FMPePayInterface
*
epay
=
_ctx
->
getService
<
FMPePayInterface
>
(
ref
);
epay
->
DockQueryRequest
(
reqData
);
epay
->
StartService
();
rspData
=
epay
->
DockQueryRespond
();
epay
->
StopService
();
}
else
{
rspData
=
QString
::
fromLocal8Bit
(
"{
\"
msg:
\"
:
\"
查询服务不可用
\"
}"
).
toUtf8
();
}
break
;
}
}
case
FM_Coupon_Pay
:{
case
FM_Coupon_Pay
:{
if
(
_ctx
){
if
(
_ctx
){
...
...
fmvip/global.h
View file @
89c1c338
...
@@ -32,6 +32,7 @@ enum FM_TYPE {
...
@@ -32,6 +32,7 @@ enum FM_TYPE {
FM_Final
=
1007
,
FM_Final
=
1007
,
FM_Coupon
=
1009
,
FM_Coupon
=
1009
,
FM_Order_Revoke
,
FM_Order_Revoke
,
FM_QR_QUERY
=
10030
,
FM_QR_Pay
=
10031
,
FM_QR_Pay
=
10031
,
FM_Coupon_Pay
,
FM_Coupon_Pay
,
FM_QR_Refund
=
10041
,
FM_QR_Refund
=
10041
,
...
...
version.h
View file @
89c1c338
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
#define VER_MINOR 1
#define VER_MINOR 1
#define VER_REVISION 0
#define VER_REVISION 0
#define VER_BUILD 2
6
#define VER_BUILD 2
7
//! Convert version numbers to string
//! Convert version numbers to string
#define _STR(S) #S
#define _STR(S) #S
...
...
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