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
adc1a653
Commit
adc1a653
authored
Oct 16, 2017
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. Simphony的日结单行为暂时为"支付宝日结单"。
parent
3c7a68d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
+11
-1
sbkpay/jsonfactory.h
+10
-0
sbkpay/version.h
+1
-1
No files found.
sbkpay/jsonfactory.h
View file @
adc1a653
...
@@ -10,6 +10,8 @@
...
@@ -10,6 +10,8 @@
#include <QJsonParseError>
#include <QJsonParseError>
#include <QJsonDocument>
#include <QJsonDocument>
#include <QDateTime>
#include <QDateTime>
#include "fmp_settings.h"
#include "fmglobal.h"
//接受pos的请求转化为json
//接受pos的请求转化为json
class
JsonFactory
class
JsonFactory
...
@@ -205,6 +207,14 @@ private:
...
@@ -205,6 +207,14 @@ private:
json
[
JSON_KEY_REQTYPE
]
=
JSON_REQTYPE_ENDDAY
;
json
[
JSON_KEY_REQTYPE
]
=
JSON_REQTYPE_ENDDAY
;
json
[
JSON_KEY_ENDTIME
]
=
QDateTime
::
currentDateTime
().
toString
(
"yyyyMMddhhmmss"
);
json
[
JSON_KEY_ENDTIME
]
=
QDateTime
::
currentDateTime
().
toString
(
"yyyyMMddhhmmss"
);
json
[
JSON_KEY_PRINTACTION
]
=
"101"
;
json
[
JSON_KEY_PRINTACTION
]
=
"101"
;
//! NOTE Simphony的日结单行为暂时为"支付宝日结单"
FMPSettings
setting
;
POSType
posType
=
(
POSType
)
setting
.
GetValue
(
CONFIG_ALL_PARTNER
,
SPCC
).
toInt
();
if
(
posType
==
SIMPHONY
)
{
json
[
JSON_KEY_PRINTACTION
]
=
"103"
;
}
return
true
;
return
true
;
}
}
static
bool
GetShiftJson
(
QJsonObject
&
json
,
const
QJsonObject
&
request
,
QStringList
list
)
static
bool
GetShiftJson
(
QJsonObject
&
json
,
const
QJsonObject
&
request
,
QStringList
list
)
...
...
sbkpay/version.h
View file @
adc1a653
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
#define VER_MINOR 2
#define VER_MINOR 2
#define VER_REVISION 1
#define VER_REVISION 1
#define VER_BUILD
0
#define VER_BUILD
1
//! 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