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
193db418
Commit
193db418
authored
Nov 15, 2016
by
NitefullWind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 充值前必须进行会员认证。 2. 充值请求的签名加入transId字段。
parent
eee0b887
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
FMVip/fmvipdispatcher.cpp
+2
-2
FMVip/fmvipforward.cpp
+4
-0
No files found.
FMVip/fmvipdispatcher.cpp
View file @
193db418
...
@@ -134,9 +134,9 @@ void FMVipDispatcher::onRequest(const QJsonObject &jsonObj)
...
@@ -134,9 +134,9 @@ void FMVipDispatcher::onRequest(const QJsonObject &jsonObj)
}
}
else
if
(
type
==
Type_Pay
||
type
==
Type_Fund
)
{
else
if
(
type
==
Type_Pay
||
type
==
Type_Fund
)
{
requestSuccess
=
true
;
requestSuccess
=
true
;
// 支付、充值先
检查登陆状态
。
// 支付、充值先
登陆
。
QJsonObject
copyJsonObj
(
jsonObj
);
QJsonObject
copyJsonObj
(
jsonObj
);
if
(
type
==
Type_Fund
&&
!
isLogined
()
)
if
(
type
==
Type_Fund
)
{
{
_posReqObj
[
"fm_cmd"
]
=
Type_Login
;
_posReqObj
[
"fm_cmd"
]
=
Type_Login
;
isLastOne
=
false
;
isLastOne
=
false
;
...
...
FMVip/fmvipforward.cpp
View file @
193db418
...
@@ -480,6 +480,10 @@ QString FMVipForward::sign(const QJsonObject &reqJob) const
...
@@ -480,6 +480,10 @@ QString FMVipForward::sign(const QJsonObject &reqJob) const
mapData
[
"partnerId"
]
=
reqJob
.
value
(
"partnerId"
).
toString
();
mapData
[
"partnerId"
]
=
reqJob
.
value
(
"partnerId"
).
toString
();
mapData
[
"t"
]
=
reqJob
.
value
(
"t"
).
toString
();
mapData
[
"t"
]
=
reqJob
.
value
(
"t"
).
toString
();
if
(
reqJob
[
"reqType"
].
toInt
()
==
FM_VIP_FUND
)
{
mapData
[
"transId"
]
=
reqJob
.
value
(
"transId"
).
toString
();
}
// 使用URL键值对的格式拼接
// 使用URL键值对的格式拼接
QString
sb
=
""
;
QString
sb
=
""
;
foreach
(
QString
key
,
mapData
.
keys
())
foreach
(
QString
key
,
mapData
.
keys
())
...
...
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