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
37f40b2c
Commit
37f40b2c
authored
Aug 30, 2017
by
李定达
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.界面和提示稍做调整
parent
e05c5fbc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
sbkpay/control.cpp
+3
-3
sbkpay/hostwidget.ui
+1
-1
sbkpay/main.cpp
+2
-2
No files found.
sbkpay/control.cpp
View file @
37f40b2c
...
...
@@ -210,14 +210,14 @@ bool Control::HttpPost(QString url, QByteArray &outdata, const QByteArray &indat
if
(
_isinterrupt
)
{
error
=
QString
::
fromLocal8Bit
(
"交易
或操作被撤销
"
);
error
=
QString
::
fromLocal8Bit
(
"交易
被取消
"
);
return
false
;
}
if
(
reply
->
error
()
!=
QNetworkReply
::
NoError
)
{
error
=
QString
::
fromLocal8Bit
(
"网络异常,
无法获取签名
"
);
error
=
QString
::
fromLocal8Bit
(
"网络异常,
获取服务端返回数据失败
"
);
QLOG_INFO
()
<<
reply
->
errorString
()
<<
"Contents: "
<<
reply
->
readAll
();
return
false
;
}
...
...
@@ -226,7 +226,7 @@ bool Control::HttpPost(QString url, QByteArray &outdata, const QByteArray &indat
if
(
outdata
.
isEmpty
())
{
error
=
QString
::
fromLocal8Bit
(
"网络异常,
无法获取签名
"
);
error
=
QString
::
fromLocal8Bit
(
"网络异常,
获取服务端返回数据为空
"
);
QLOG_INFO
()
<<
reply
->
errorString
()
<<
"Contents: "
<<
reply
->
readAll
();
return
false
;
}
...
...
sbkpay/hostwidget.ui
View file @
37f40b2c
...
...
@@ -1495,7 +1495,7 @@ QHeaderView::section{
}
</string>
</property>
<property
name=
"text"
>
<string>
撤销
交易
</string>
<string>
取消
交易
</string>
</property>
</widget>
</item>
...
...
sbkpay/main.cpp
View file @
37f40b2c
...
...
@@ -322,7 +322,7 @@ int main(int argc, char *argv[])
AlipayRequest
req
;
FMTool
::
SetString
(
req
.
BusinessDay
,
8
,
QString
(
"20170909"
));
FMTool
::
SetString
(
req
.
TransType
,
2
,
QString
(
"
1
0"
));
FMTool
::
SetString
(
req
.
TransType
,
2
,
QString
(
"
3
0"
));
FMTool
::
SetString
(
req
.
PlatNo
,
4
,
QString
(
"1443"
));
FMTool
::
SetString
(
req
.
TransTime
,
6
,
QString
(
"130301"
));
FMTool
::
SetString
(
req
.
StoreNo
,
20
,
QString
(
"17607"
));
...
...
@@ -331,7 +331,7 @@ int main(int argc, char *argv[])
FMTool
::
SetString
(
req
.
CashTraceNo
,
6
,
QString
(
"16723"
));
FMTool
::
SetString
(
req
.
OriginTrace
,
64
,
QString
(
""
));
FMTool
::
SetString
(
req
.
Amount
,
12
,
QString
(
"1"
));
FMTool
::
SetString
(
req
.
Reserved1
,
48
,
QString
(
"136
567084
3098735894422"
));
FMTool
::
SetString
(
req
.
Reserved1
,
48
,
QString
(
"136
762
3098735894422"
));
req
.
item_line_qty
[
0
]
=
'2'
;
req
.
item_line_qty
[
1
]
=
' '
;
...
...
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