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
645ae0cf
Commit
645ae0cf
authored
Aug 29, 2017
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 不再使用dll提供的发送、签名、获取mac地址等函数。
parent
45a2a22f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
sbkpay/control.cpp
+0
-0
sbkpay/control.h
+3
-5
sbkpay/hostwidget.cpp
+1
-0
No files found.
sbkpay/control.cpp
View file @
645ae0cf
This diff is collapsed.
Click to expand it.
sbkpay/control.h
View file @
645ae0cf
...
...
@@ -21,7 +21,6 @@ public:
void
Start
(
const
char
*
indata
,
char
*
outdata
);
//static void GetProcPath(char *pathBuf);
void
setIsinterrupt
(
bool
isinterrupt
);
signals
:
...
...
@@ -35,6 +34,8 @@ private:
void
InitModel
();
bool
SendMessageToServer
(
const
QJsonObject
&
json
,
QByteArray
&
outdata
,
QString
&
error
);
bool
SendMessageToPayMent
(
const
QJsonObject
&
json
,
QByteArray
&
outdata
,
QString
&
error
);
bool
SendMessageToSBKAPI
(
const
QJsonObject
&
json
,
QByteArray
&
outdata
,
QString
&
error
);
...
...
@@ -53,10 +54,6 @@ private:
bool
HttpPost
(
QString
url
,
QByteArray
&
outdata
,
const
QByteArray
&
indata
,
QString
content
,
QString
accept
,
QString
&
error
,
int
timeout
);
bool
GetSPCCSign
(
char
*
in
,
char
*
out
,
QString
&
error
);
QString
GetMacString
(
bool
isSign
=
true
);
void
InitPOSReqJsonObj
(
const
char
*
indata
);
public
slots
:
...
...
@@ -79,6 +76,7 @@ private:
FMPDataBase
*
_db
;
POSType
_posType
;
};
#endif // CONTROL_H
sbkpay/hostwidget.cpp
View file @
645ae0cf
...
...
@@ -531,6 +531,7 @@ void HostWidget::on_btn_mananger_register_clicked()
void
HostWidget
::
on_btn_mananger_check_clicked
()
{
_type
=
finds
;
ui
->
label_find_title
->
setText
(
QString
::
fromLocal8Bit
(
"门店%1交易流水查询"
).
arg
(
FMTool
::
GetJsonValue
(
_posReqJsonObj
,
JSON_KEY_STOREID
).
toString
()));
ui
->
label_find_msg
->
clear
();
ui
->
dateEdit_find_begin
->
setDisplayFormat
(
"yyyy-MM-dd"
);
ui
->
dateEdit_find_end
->
setDisplayFormat
(
"yyyy-MM-dd"
);
...
...
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