Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fmp_epay
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
fmp_epay
Commits
4ad72b84
Commit
4ad72b84
authored
Apr 19, 2019
by
刘帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退款请求添加refund_id
parent
78ebdf3e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletions
+3
-1
fmp_epay_p.cpp
+1
-0
fmp_epayview_dialog.cpp
+1
-0
version.h
+1
-1
No files found.
fmp_epay_p.cpp
View file @
4ad72b84
...
...
@@ -802,6 +802,7 @@ bool FMPePayPrivate::GetRefundJson(const QJsonObject &trans)
_docked_request
.
insert
(
FMP_EPAY_REQUESTTYPE
,
62
);
_docked_request
.
insert
(
FMP_EPAY_PARTNERID
,
q
->
_partner_id
.
toInt
());
_docked_request
.
insert
(
FMP_EPAY_CLIENTREQCOUNT
,
(
int
)((
++
s_ClientReqCount
)
%=
10000000
));
_docked_request
.
insert
(
"refund_id"
,
QDateTime
::
currentMSecsSinceEpoch
());
if
(
_is_api
)
{
_docked_request
[
FMP_EPAY_STOREID
]
=
_origin_request
[
FMP_EPAY_STOREID
];
...
...
fmp_epayview_dialog.cpp
View file @
4ad72b84
...
...
@@ -658,6 +658,7 @@ void FMPPayDialog::onBtnConfirmClicked()
QJsonObject
trans
;
trans
[
"refund_amount"
]
=
(
int
)((
ui
->
lineedit_num_refund
->
text
().
toDouble
()
+
0.005
)
*
100
);
trans
[
"fm_id"
]
=
ui
->
lineedit_code_refund
->
text
();
trans
[
"refund_id"
]
=
QDateTime
::
currentMSecsSinceEpoch
();
_control
->
ControlRefundJson
(
trans
);
}
...
...
version.h
View file @
4ad72b84
...
...
@@ -5,7 +5,7 @@
#define VER_MINOR 1
#define VER_REVISION 0
#define VER_BUILD
29
#define VER_BUILD
33
//! Convert version numbers to string
#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