Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
mall.oytour.com
Commits
cc4caebd
Commit
cc4caebd
authored
Feb 26, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
47744e02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
OrderController.cs
Mall.WebApi/Controllers/Product/OrderController.cs
+4
-2
No files found.
Mall.WebApi/Controllers/Product/OrderController.cs
View file @
cc4caebd
...
...
@@ -1466,6 +1466,7 @@ namespace Mall.WebApi.Controllers.MallBase
string
sTradeNo
=
string
.
Empty
;
string
refundid
=
string
.
Empty
;
string
RefundOrderNoStr
=
string
.
Empty
;
LogHelper
.
Write
(
"我是和平商旅支付记录信息:"
+
inOnlineTradeList
?.
Count
()
+
"条"
);
foreach
(
var
item
in
inOnlineTradeList
)
{
string
RefundOrderNo
=
omodel
.
OrderNo
+
(
RefundNum
+
resultCount
+
1
);
...
...
@@ -1473,14 +1474,15 @@ namespace Mall.WebApi.Controllers.MallBase
{
TotalFee
=
Convert
.
ToInt32
((
item
.
Money
??
0
)
*
100
),
RefundFee
=
Convert
.
ToInt32
((
item
.
Money
??
0
)
*
100
),
OrderNumber
=
omodel
.
Merchants
No
,
OrderNumber
=
item
.
Out_Trade_
No
,
RefundNumber
=
RefundOrderNo
};
LogHelper
.
Write
(
"我是和平商旅退款参数:"
+
JsonConvert
.
SerializeObject
(
pram
));
var
Robj
=
new
App_Code
.
PayUtil
().
Refund
(
pram
,
mallModel
,
_accessor
);
if
(
Robj
.
IsSuccess
)
{
var
dic
=
((
Dictionary
<
string
,
string
>)
Robj
.
Data
);
LogHelper
.
Write
(
JsonConvert
.
SerializeObject
(
Robj
));
LogHelper
.
Write
(
"我是和平商旅退款结果:"
+
JsonConvert
.
SerializeObject
(
Robj
));
sOrderNo
+=
resultCount
==
0
?
dic
[
"sOrderNo"
]
:
(
","
+
dic
[
"sOrderNo"
]);
sTradeNo
+=
resultCount
==
0
?
dic
[
"sTradeNo"
]
:
(
","
+
dic
[
"sTradeNo"
]);
refundid
+=
resultCount
==
0
?
dic
[
"refundid"
]
:
(
","
+
dic
[
"refundid"
]);
...
...
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