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
e6ede079
Commit
e6ede079
authored
Jul 30, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商品副标题
parent
de613f47
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
RB_Goods.cs
Mall.Model/Entity/Product/RB_Goods.cs
+4
-0
ProductModule.cs
Mall.Module.Product/ProductModule.cs
+2
-1
ProductController.cs
Mall.WebApi/Controllers/Product/ProductController.cs
+4
-1
No files found.
Mall.Model/Entity/Product/RB_Goods.cs
View file @
e6ede079
...
...
@@ -430,5 +430,9 @@ namespace Mall.Model.Entity.Product
/// 广告词
/// </summary>
public
string
Advertising
{
get
;
set
;
}
/// <summary>
/// 副标题
/// </summary>
public
string
SubName
{
get
;
set
;
}
}
}
Mall.Module.Product/ProductModule.cs
View file @
e6ede079
...
...
@@ -3630,7 +3630,8 @@ namespace Mall.Module.Product
{
nameof
(
RB_Goods
.
Commission
),
demodel
.
Commission
},
{
nameof
(
RB_Goods
.
PresentFXGrade
),
demodel
.
PresentFXGrade
},
{
nameof
(
RB_Goods
.
PresentFXMonth
),
demodel
.
PresentFXMonth
},
{
nameof
(
RB_Goods
.
Advertising
),
demodel
.
Advertising
}
{
nameof
(
RB_Goods
.
Advertising
),
demodel
.
Advertising
},
{
nameof
(
RB_Goods
.
SubName
),
demodel
.
SubName
},
};
if
(
goodsModel
.
IsProcurement
==
1
)
{
...
...
Mall.WebApi/Controllers/Product/ProductController.cs
View file @
e6ede079
...
...
@@ -1533,7 +1533,9 @@ namespace Mall.WebApi.Controllers.MallBase
model
.
CarouselImageList
,
model
.
ServiceList
,
model
.
PresentFXGrade
,
model
.
PresentFXMonth
model
.
PresentFXMonth
,
model
.
Advertising
,
model
.
SubName
});
}
...
...
@@ -1988,6 +1990,7 @@ namespace Mall.WebApi.Controllers.MallBase
demodel
.
PresentFXMonth
??=
0
;
demodel
.
Advertising
??=
""
;
//广告词
demodel
.
SubName
??=
""
;
//副标题
if
(
demodel
.
IsProxy
==
1
&&
demodel
.
CostPrice
>
0
)
{
decimal
ProxyMoney
=
0
;
...
...
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