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
3c678510
Commit
3c678510
authored
Dec 18, 2017
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 增加支付查询接口。
parent
88e1b6e4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
0 deletions
+33
-0
fmp_epay.cpp
+10
-0
fmp_epay.h
+3
-0
fmp_epay_i.h
+3
-0
fmp_epay_p.cpp
+13
-0
fmp_epay_p.h
+4
-0
No files found.
fmp_epay.cpp
View file @
3c678510
...
@@ -78,3 +78,13 @@ QByteArray FMPePay::DockRefundRespond()
...
@@ -78,3 +78,13 @@ QByteArray FMPePay::DockRefundRespond()
{
{
return
d_func
()
->
DockRefundRespond
();
return
d_func
()
->
DockRefundRespond
();
}
}
void
FMPePay
::
DockQueryRequest
(
const
QByteArray
&
json
)
{
d_func
()
->
DockQueryRequest
(
json
);
}
QByteArray
FMPePay
::
DockQueryRespond
()
{
return
d_func
()
->
DockQueryRespond
();
}
fmp_epay.h
View file @
3c678510
...
@@ -28,6 +28,9 @@ public:
...
@@ -28,6 +28,9 @@ public:
void
DockRefundRequest
(
const
QByteArray
&
json
);
void
DockRefundRequest
(
const
QByteArray
&
json
);
QByteArray
DockRefundRespond
();
QByteArray
DockRefundRespond
();
void
DockQueryRequest
(
const
QByteArray
&
json
);
QByteArray
DockQueryRespond
();
protected
slots
:
protected
slots
:
void
InitService
();
void
InitService
();
...
...
fmp_epay_i.h
View file @
3c678510
...
@@ -28,6 +28,9 @@ public:
...
@@ -28,6 +28,9 @@ public:
virtual
void
DockRefundRequest
(
const
QByteArray
&
json
)
=
0
;
virtual
void
DockRefundRequest
(
const
QByteArray
&
json
)
=
0
;
virtual
QByteArray
DockRefundRespond
()
=
0
;
virtual
QByteArray
DockRefundRespond
()
=
0
;
virtual
void
DockQueryRequest
(
const
QByteArray
&
json
)
=
0
;
virtual
QByteArray
DockQueryRespond
()
=
0
;
signals
:
signals
:
void
TriggerInit
();
void
TriggerInit
();
void
TriggerUninit
();
void
TriggerUninit
();
...
...
fmp_epay_p.cpp
View file @
3c678510
...
@@ -313,6 +313,19 @@ QByteArray FMPePayPrivate::DockRefundRespond()
...
@@ -313,6 +313,19 @@ QByteArray FMPePayPrivate::DockRefundRespond()
return
json
;
return
json
;
}
}
void
FMPePayPrivate
::
DockQueryRequest
(
const
QByteArray
&
json
)
{
//!TODO DockQueryRequest()
}
QByteArray
FMPePayPrivate
::
DockQueryRespond
()
{
//!TODO DockQueryRespond()
return
""
;
}
void
FMPePayPrivate
::
OnFinish
()
void
FMPePayPrivate
::
OnFinish
()
{
{
if
(
_origin_response
.
isEmpty
())
{
if
(
_origin_response
.
isEmpty
())
{
...
...
fmp_epay_p.h
View file @
3c678510
...
@@ -42,6 +42,10 @@ public:
...
@@ -42,6 +42,10 @@ public:
void
DockRefundRequest
(
const
QByteArray
&
json
);
void
DockRefundRequest
(
const
QByteArray
&
json
);
QByteArray
DockRefundRespond
();
QByteArray
DockRefundRespond
();
void
DockQueryRequest
(
const
QByteArray
&
json
);
QByteArray
DockQueryRespond
();
private
:
private
:
void
ControlReverseJson
();
void
ControlReverseJson
();
...
...
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