Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
7 years ago
Commit
6ed692625be0dadf70ba6df24bbea85a8e4bc1d5
1 parent
3914477f
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
apps/home/models/favorite-model.js
apps/home/models/favorite-model.js
View file @
6ed6926
...
...
@@ -387,10 +387,9 @@ module.exports = class favorite extends global.yoho.BaseModel {
result
=
yield
that
.
_cancel
(
'shop'
,
uid
,
group
.
sid
);
}
if
(
!
group
)
{
if
(
_
.
isEmpty
(
group
)
)
{
result
=
yield
that
.
_cancel
(
'brand'
,
uid
,
ids
);
}
console
.
log
(
result
);
return
result
;
})();
...
...
Please
register
or
login
to post a comment