Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
9 years ago
Commit
64159976cc0051f9a6913622fa58196622120c5f
1 parent
21a95dca
已下架商品处理
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
apps/product/models/item.js
apps/product/models/item.js
View file @
6415997
...
...
@@ -91,10 +91,15 @@ const getProductItemData = (params, url, uid) => {
let
resData
=
{};
let
data
=
{};
// 如果status为0,即商品下架时则返回空对象
if
(
!
result
.
status
)
{
return
resData
;
}
if
(
!
result
.
productName
&&
!
result
.
erpProductId
&&
!
result
.
productPriceBo
)
{
return
d
ata
;
return
resD
ata
;
}
result
.
uid
=
uid
;
...
...
Please
register
or
login
to post a comment