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
f6320b7e
Commit
f6320b7e
authored
Aug 21, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/mall.oytour.com
parents
40d2f34d
48388c5b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
264 additions
and
67 deletions
+264
-67
OrderModule.cs
Mall.Module.Product/OrderModule.cs
+5
-0
ProductModule.cs
Mall.Module.Product/ProductModule.cs
+5
-0
MallHelper.cs
Mall.WebApi/Controllers/Mall/MallHelper.cs
+254
-67
No files found.
Mall.Module.Product/OrderModule.cs
View file @
f6320b7e
...
...
@@ -2689,6 +2689,11 @@ namespace Mall.Module.Product
}
}
}
if
(
dcList
.
Where
(
x
=>
x
.
SmallShopId
>
0
).
Any
())
{
IsCommissionCoupons
=
false
;
}
}
}
}
...
...
Mall.Module.Product/ProductModule.cs
View file @
f6320b7e
...
...
@@ -1489,6 +1489,11 @@ namespace Mall.Module.Product
}
MaxSellMoney
=
model
.
SpecificationPriceList
.
Max
(
x
=>
x
.
SellingPrice
??
0
);
model
.
SellingPrice
=
model
.
SpecificationPriceList
.
Min
(
x
=>
x
.
SellingPrice
??
0
);
decimal
MaxPrice
=
MaxSellMoney
+
Math
.
Ceiling
(
MaxSellMoney
/
10
);
if
(
MaxPrice
>
model
.
OriginalPrice
)
{
model
.
OriginalPrice
=
MaxPrice
;
}
}
//区域
model
.
AreaList
=
new
List
<
RB_Goods_Area_Extend
>();
...
...
Mall.WebApi/Controllers/Mall/MallHelper.cs
View file @
f6320b7e
This diff is collapsed.
Click to expand it.
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