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
bfe3e56d
Commit
bfe3e56d
authored
Jun 16, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/mall.oytour.com
parents
531961f8
3233a347
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
PayParam.cs
Mall.Common/Pay/WeChatPat/PayParam.cs
+1
-1
PayUtil.cs
Mall.WebApi/App_Code/PayUtil.cs
+4
-0
No files found.
Mall.Common/Pay/WeChatPat/PayParam.cs
View file @
bfe3e56d
...
...
@@ -30,7 +30,7 @@ namespace Mall.Common.Pay.WeChatPat
/// <summary>
/// 退款金额
/// </summary>
public
decimal
?
RefundFee
{
get
;
set
;
}
public
int
?
RefundFee
{
get
;
set
;
}
/// <summary>
/// 过期时间,格式(20141010121314)
...
...
Mall.WebApi/App_Code/PayUtil.cs
View file @
bfe3e56d
...
...
@@ -326,6 +326,10 @@ namespace Mall.WebApi.App_Code
var
reqXml
=
packageReq
.
ParseXml
();
LogHelper
.
Write
(
reqXml
);
LogHelper
.
WriteInfo
(
"退款正式路径"
+
Path
.
Combine
(
AppDomain
.
CurrentDomain
.
BaseDirectory
,
"App_Data/Certs/WeChatApp/"
+
model
.
WeChatPayCertificateUrl
));
if
(!
System
.
IO
.
File
.
Exists
(
Path
.
Combine
(
AppDomain
.
CurrentDomain
.
BaseDirectory
,
"App_Data/Certs/WeChatApp/"
+
model
.
WeChatPayCertificateUrl
)))
{
return
new
BaseResult
()
{
IsSuccess
=
false
,
Message
=
"证书不存在"
};
}
var
result
=
Common
.
Pay
.
WeChatPat
.
HttpHelper
.
Post
(
new
HttpParam
()
{
Url
=
"https://api.mch.weixin.qq.com/secapi/pay/refund"
,
...
...
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