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
d42f30bb
Commit
d42f30bb
authored
Jun 16, 2020
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/mall.oytour.com
parents
2b22a78d
f652a476
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
OrderModule.cs
Mall.Module.Product/OrderModule.cs
+7
-4
AppletOrderController.cs
Mall.WebApi/Controllers/Product/AppletOrderController.cs
+4
-0
OrderController.cs
Mall.WebApi/Controllers/Product/OrderController.cs
+1
-0
UserController.cs
Mall.WebApi/Controllers/User/UserController.cs
+1
-0
No files found.
Mall.Module.Product/OrderModule.cs
View file @
d42f30bb
...
...
@@ -2574,7 +2574,7 @@ namespace Mall.Module.Product
{
continue
;
}
//item.SupplierId = gmodel.SpplierID;
item
.
CouponMoney
=
0
;
var
couponModel
=
GoodsCouponList
.
Where
(
x
=>
x
.
GoodsId
==
item
.
GoodsId
).
FirstOrDefault
();
if
(
couponModel
!=
null
)
...
...
@@ -3463,7 +3463,8 @@ namespace Mall.Module.Product
IntegralMoney
=
item
.
IntegralMoney
,
IntegralNumber
=
item
.
IntegralNumber
,
CouponMoney
=
item
.
CouponMoney
,
IntegralGoodsPresent
=
IntegralPresent
IntegralGoodsPresent
=
IntegralPresent
,
SupplierId
=
item
.
SupplierId
},
trans
);
item
.
Id
=
detailId
;
...
...
@@ -5461,8 +5462,6 @@ namespace Mall.Module.Product
}
//余额支付回滚
//同意 创建财务单据
OrderRefundFinanceModule
(
omodel
);
}
//记录日志
string
Content
=
$"客人申请取消订单,审核:
{(
type
==
1
?
"同意"
:
"拒绝"
)}
"
;
...
...
@@ -5482,6 +5481,10 @@ namespace Mall.Module.Product
});
}
goods_OrderRepository
.
DBSession
.
Commit
();
if
(
flag
&&
type
==
1
)
{
//同意 创建财务单据
OrderRefundFinanceModule
(
omodel
);
}
return
flag
;
}
catch
(
Exception
ex
)
...
...
Mall.WebApi/Controllers/Product/AppletOrderController.cs
View file @
d42f30bb
...
...
@@ -408,6 +408,10 @@ namespace Mall.WebApi.Controllers.MallBase
}
item
.
Specification
=
JsonConvert
.
SerializeObject
(
item
.
SpecificationList
);
}
if
((
demodel
.
Income
??
0
)
<=
0
)
{
return
ApiResult
.
ParamIsNull
(
"订单金额不正确"
);
}
demodel
.
BuyerMessage
??=
""
;
//买家留言
demodel
.
OrderSource
??=
UserSourceEnum
.
WeiXin
;
...
...
Mall.WebApi/Controllers/Product/OrderController.cs
View file @
d42f30bb
...
...
@@ -695,6 +695,7 @@ namespace Mall.WebApi.Controllers.MallBase
}
}
else
{
LogHelper
.
Write
(
JsonConvert
.
SerializeObject
(
Robj
));
return
ApiResult
.
Failed
();
}
}
...
...
Mall.WebApi/Controllers/User/UserController.cs
View file @
d42f30bb
...
...
@@ -1836,6 +1836,7 @@ namespace Mall.WebApi.Controllers.User
}
else
{
LogHelper
.
Write
(
"企业付款失败RemitId:"
+
RemitId
);
return
ApiResult
.
Failed
(
"支付失败"
);
}
}
...
...
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