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
0080b5c8
Commit
0080b5c8
authored
Jan 16, 2018
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 实现终止非码支付和退款任务。
parent
04869d6b
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
4 deletions
+20
-4
fmvip/task/fmtask.cpp
+1
-1
fmvip/task/taskqrpay.cpp
+7
-1
fmvip/task/taskqrpay.h
+2
-0
fmvip/task/taskqrrefund.cpp
+7
-1
fmvip/task/taskqrrefund.h
+2
-0
version.h
+1
-1
No files found.
fmvip/task/fmtask.cpp
View file @
0080b5c8
...
...
@@ -61,7 +61,7 @@ void FMTask::stopTask()
}
if
(
_window
!=
nullptr
)
{
_window
->
reject
();
FMMsgWnd
::
WarningWnd
(
QString
::
fromLocal8Bit
(
"通讯中断,交易
终止
"
),
_window
);
FMMsgWnd
::
WarningWnd
(
QString
::
fromLocal8Bit
(
"通讯中断,交易
取消
"
),
_window
);
_window
=
nullptr
;
}
...
...
fmvip/task/taskqrpay.cpp
View file @
0080b5c8
#include "taskqrpay.h"
#
include
"taskqrpay.h"
#include "items/order.h"
#include "items/pay.h"
#include "items/storeinfo.h"
...
...
@@ -69,3 +69,9 @@ void TaskQRPay::packagePOSRsp()
{
}
void
TaskQRPay
::
stopTask
()
{
FMMsgWnd
::
WarningWnd
(
QString
::
fromLocal8Bit
(
"通讯中断,交易取消"
));
_epay
->
StopService
();
}
fmvip/task/taskqrpay.h
View file @
0080b5c8
...
...
@@ -13,6 +13,8 @@ public:
void
packagePOSReq
();
void
packagePOSRsp
();
void
stopTask
();
private
:
FMPePayInterface
*
_epay
;
};
...
...
fmvip/task/taskqrrefund.cpp
View file @
0080b5c8
#include "taskqrrefund.h"
#
include
"taskqrrefund.h"
#include "items/order.h"
#include "items/pay.h"
#include "items/storeinfo.h"
...
...
@@ -53,3 +53,9 @@ void TaskQRRefund::packagePOSRsp()
{
}
void
TaskQRRefund
::
stopTask
()
{
FMMsgWnd
::
WarningWnd
(
QString
::
fromLocal8Bit
(
"通讯中断,交易取消"
));
_epay
->
StopService
();
}
fmvip/task/taskqrrefund.h
View file @
0080b5c8
...
...
@@ -13,6 +13,8 @@ public:
void
packagePOSReq
();
void
packagePOSRsp
();
void
stopTask
();
private
:
FMPePayInterface
*
_epay
;
};
...
...
version.h
View file @
0080b5c8
...
...
@@ -5,7 +5,7 @@
#define VER_MINOR 1
#define VER_REVISION 0
#define VER_BUILD 3
4
#define VER_BUILD 3
5
//! Convert version numbers to string
#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