Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmPOS
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
fmPOS
Commits
f42b41d8
Commit
f42b41d8
authored
Jun 21, 2018
by
xiaojing.zhang
Committed by
Carwyn
Mar 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
不能实例化抽象类
parent
64c95024
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
fmp_redeem/fmp_redeem.cpp
+2
-3
fmp_redeem/fmp_redeem.h
+1
-1
fmp_redeem/fmp_redeem_i.h
+1
-1
No files found.
fmp_redeem/fmp_redeem.cpp
View file @
f42b41d8
...
...
@@ -114,7 +114,7 @@ QJsonObject FMPRedeem::Reverse(QJsonObject request)
return
retJson
;
}
QJsonObject
FMPRedeem
::
Redeem
(
QJsonObject
redeemInfo
)
QJsonObject
FMPRedeem
::
Redeem
(
const
QJsonObject
&
redeemInfo
)
{
FMP_DEBUG
()
<<
"Recv redeem data: "
<<
QJsonDocument
(
redeemInfo
).
toJson
(
QJsonDocument
::
Compact
);
_redeem_info
=
redeemInfo
;
...
...
@@ -476,4 +476,4 @@ QByteArray FMPRedeem::CheckSendArray(QByteArray &jsonArray)
QByteArray
array
(
tmpBuf
);
return
array
;
}
\ No newline at end of file
}
fmp_redeem/fmp_redeem.h
View file @
f42b41d8
...
...
@@ -29,7 +29,7 @@ public:
explicit
FMPRedeem
(
ctkPluginContext
*
context
);
virtual
~
FMPRedeem
();
QJsonObject
Redeem
(
QJsonObject
redeemInfo
);
//券码核销
QJsonObject
Redeem
(
const
QJsonObject
&
redeemInfo
);
//券码核销
QJsonObject
Reverse
(
QJsonObject
request
);
QJsonObject
GetRedeemJson
()
const
;
...
...
fmp_redeem/fmp_redeem_i.h
View file @
f42b41d8
...
...
@@ -20,7 +20,7 @@ public:
connect
(
this
,
&
FMPRedeemInterface
::
TriggerUninit
,
this
,
&
FMPRedeemInterface
::
OnTriggerUninit
);
}
virtual
QJsonObject
Redeem
(
const
QJsonArray
&
productsInfo
)
=
0
;
//券码核销
//
virtual QJsonObject Redeem(const QJsonArray& productsInfo) = 0; //券码核销
virtual
QJsonObject
Redeem
(
const
QJsonObject
&
productsInfoObj
)
=
0
;
//券码核销
virtual
QJsonObject
Reverse
(
QJsonObject
request
)
=
0
;
//卡券冲正
virtual
QJsonObject
GetRedeemJson
()
const
=
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