Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
FMVip_Today
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
FMVip_Today
Commits
a1797ca4
Commit
a1797ca4
authored
Mar 30, 2017
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 增加基础日志输出。
parent
40988dae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
FMVip/fmvipforward.cpp
+6
-1
No files found.
FMVip/fmvipforward.cpp
View file @
a1797ca4
#include "fmvipforward.h"
#
include
"fmvipforward.h"
#include <QJsonDocument>
#include <QJsonDocument>
#include <QJsonParseError>
#include <QJsonParseError>
#include <QJsonObject>
#include <QJsonObject>
...
@@ -149,6 +149,8 @@ void FMVipForward::onServerFinished(QNetworkReply *reply, bool isTimeOut)
...
@@ -149,6 +149,8 @@ void FMVipForward::onServerFinished(QNetworkReply *reply, bool isTimeOut)
QJsonDocument
jdoc
(
_needBackupReqJob
);
QJsonDocument
jdoc
(
_needBackupReqJob
);
FMBackup
::
instance
()
->
updateReqData
(
newId
,
_req
.
url
().
toString
(),
jdoc
.
toJson
(
QJsonDocument
::
Compact
));
FMBackup
::
instance
()
->
updateReqData
(
newId
,
_req
.
url
().
toString
(),
jdoc
.
toJson
(
QJsonDocument
::
Compact
));
qDebug
()
<<
"Backup: "
<<
jdoc
;
posObj
[
"statusCode"
]
=
100
;
posObj
[
"statusCode"
]
=
100
;
posObj
[
"msg"
]
=
"fmv:结算成功"
;
posObj
[
"msg"
]
=
"fmv:结算成功"
;
posObj
[
"fm_id"
]
=
uuid
;
posObj
[
"fm_id"
]
=
uuid
;
...
@@ -172,6 +174,7 @@ void FMVipForward::onServerFinished(QNetworkReply *reply, bool isTimeOut)
...
@@ -172,6 +174,7 @@ void FMVipForward::onServerFinished(QNetworkReply *reply, bool isTimeOut)
if
(
isTimeOut
)
{
if
(
isTimeOut
)
{
posObj
[
"msg"
]
=
"fmv:向非码服务器请求超时"
;
posObj
[
"msg"
]
=
"fmv:向非码服务器请求超时"
;
}
}
qDebug
()
<<
"Network error : "
<<
posObj
[
"msg"
].
toString
();
}
}
}
else
{
}
else
{
...
@@ -499,6 +502,8 @@ QString FMVipForward::sign(const QJsonObject &reqJob) const
...
@@ -499,6 +502,8 @@ QString FMVipForward::sign(const QJsonObject &reqJob) const
sb
.
append
(
KeyCode
);
sb
.
append
(
KeyCode
);
qDebug
()
<<
QString
(
"Sign string: %1"
).
arg
(
sb
);
QByteArray
bt
;
QByteArray
bt
;
bt
.
append
(
sb
);
bt
.
append
(
sb
);
...
...
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