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
0dafff19
Commit
0dafff19
authored
Jun 23, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ad80e5a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ProductController.cs
Mall.WebApi/Controllers/Product/ProductController.cs
+3
-2
No files found.
Mall.WebApi/Controllers/Product/ProductController.cs
View file @
0dafff19
...
@@ -1471,6 +1471,9 @@ namespace Mall.WebApi.Controllers.MallBase
...
@@ -1471,6 +1471,9 @@ namespace Mall.WebApi.Controllers.MallBase
public
ApiResult
SetProductGoodsInfo
()
{
public
ApiResult
SetProductGoodsInfo
()
{
var
parms
=
RequestParm
;
var
parms
=
RequestParm
;
RB_Goods_Extend
demodel
=
JsonConvert
.
DeserializeObject
<
RB_Goods_Extend
>(
parms
.
msg
.
ToString
());
RB_Goods_Extend
demodel
=
JsonConvert
.
DeserializeObject
<
RB_Goods_Extend
>(
parms
.
msg
.
ToString
());
demodel
.
TenantId
=
parms
.
TenantId
;
demodel
.
MallBaseId
=
parms
.
MallBaseId
;
if
(
string
.
IsNullOrEmpty
(
demodel
.
Name
))
{
if
(
string
.
IsNullOrEmpty
(
demodel
.
Name
))
{
return
ApiResult
.
ParamIsNull
(
"请输入商品名称"
);
return
ApiResult
.
ParamIsNull
(
"请输入商品名称"
);
}
}
...
@@ -1780,8 +1783,6 @@ namespace Mall.WebApi.Controllers.MallBase
...
@@ -1780,8 +1783,6 @@ namespace Mall.WebApi.Controllers.MallBase
demodel
.
IsMultipleDeduction
??=
2
;
demodel
.
IsMultipleDeduction
??=
2
;
demodel
.
Status
=
0
;
demodel
.
Status
=
0
;
demodel
.
TenantId
=
parms
.
TenantId
;
demodel
.
MallBaseId
=
parms
.
MallBaseId
;
demodel
.
CreateDate
=
DateTime
.
Now
;
demodel
.
CreateDate
=
DateTime
.
Now
;
demodel
.
UpdateDate
=
DateTime
.
Now
;
demodel
.
UpdateDate
=
DateTime
.
Now
;
#
endregion
#
endregion
...
...
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