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
14f56d2f
Commit
14f56d2f
authored
Jun 12, 2020
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
d5c3a3cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
OrderModule.cs
Mall.Module.Product/OrderModule.cs
+4
-4
PayUtil.cs
Mall.WebApi/App_Code/PayUtil.cs
+2
-0
No files found.
Mall.Module.Product/OrderModule.cs
View file @
14f56d2f
...
...
@@ -3652,7 +3652,7 @@ namespace Mall.Module.Product
if
(
model
.
Type
==
2
)
{
var
oeModel
=
goods_OrderExpressRepository
.
GetList
(
new
RB_Goods_OrderExpress_Extend
()
{
AfterSaleOrderId
=
model
.
ReOrderId
,
TenantId
=
tenantId
,
MallBaseId
=
mallBaseId
}).
FirstOrDefault
();
if
(
oeModel
.
Type
==
1
)
if
(
oeModel
!=
null
&&
oeModel
.
Type
==
1
)
{
var
leModel
=
logistics_ExpressRepository
.
GetEntity
(
oeModel
.
ExpressId
);
HExpressList
.
Add
(
new
...
...
@@ -3667,7 +3667,7 @@ namespace Mall.Module.Product
HExpressList
.
Add
(
new
{
ExpressName
=
""
,
ExpressNumber
=
oeModel
.
Remark
,
ExpressNumber
=
oeModel
?
.
Remark
,
Type
=
2
});
}
...
...
@@ -4500,7 +4500,7 @@ namespace Mall.Module.Product
var
omodel
=
goods_OrderRepository
.
GetEntity
(
dmodel
.
OrderId
);
if
(
omodel
==
null
)
{
return
false
;
}
//先查询规则
var
financeConfigurineList
=
financeConfigurineRepository
.
GetList
(
new
Model
.
Extend
.
Finance
.
RB_Finance_Configurine_Extend
{
Type
=
3
});
var
financeConfigurineList
=
financeConfigurineRepository
.
GetList
(
new
Model
.
Extend
.
Finance
.
RB_Finance_Configurine_Extend
{
Type
=
3
});
string
dstr
=
"已收货,客人付款:"
+
(
dmodel
.
Income
??
0
)
+
"金额,申请退款:"
+
(
dmodel
.
Refund
??
0
);
if
(
financeConfigurineList
!=
null
&&
financeConfigurineList
.
Any
())
...
...
@@ -4569,7 +4569,7 @@ namespace Mall.Module.Product
goods_OrderAfterSaleLogRepository
.
Insert
(
new
RB_Goods_OrderAfterSaleLog
()
{
Id
=
0
,
Content
=
"自动生成财务退款单据:"
+
apir
.
data
.
ToString
(),
Content
=
"自动生成财务退款单据:"
+
apir
.
data
.
ToString
(),
CreateDate
=
DateTime
.
Now
,
MallBaseId
=
dmodel
.
MallBaseId
,
ReOrderId
=
dmodel
.
ReOrderId
,
...
...
Mall.WebApi/App_Code/PayUtil.cs
View file @
14f56d2f
...
...
@@ -66,6 +66,8 @@ namespace Mall.WebApi.App_Code
req
.
SetParameter
(
"sign"
,
req
.
CreateMd5Sign
(
_accessor
,
model
.
WeChatApiSecret
));
var
reqXml
=
req
.
ParseXml
();
LogHelper
.
Write
(
null
,
"订单号【"
+
sOrderNo
+
"】请求参数:"
+
reqXml
);
var
result
=
Common
.
Pay
.
WeChatPat
.
HttpHelper
.
Post
(
new
HttpParam
()
{
Url
=
Mall
.
Common
.
Pay
.
WeChatPat
.
Model
.
ApiList
.
UnifiedOrderUrl
,
...
...
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