Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
张孝茹
2018-01-15 17:34:06 +0800
Commit
05a00199a2333a1dc6fcb8057ad466b8ec9b9814
1 parent
e773b090
single 去掉url
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
3 deletions
apps/home/models/new-home.js
apps/product/models/detail.js
apps/product/models/shop.js
apps/home/models/new-home.js
View file @
05a0019
...
...
@@ -74,7 +74,6 @@ class newHome extends global.yoho.BaseModel {
_favoriteData
(
params
)
{
if
(
params
.
uid
)
{
let
options
=
{
url
:
'favorite'
,
data
:
{
method
:
'app.favorite.getFavoriteCount'
,
uid
:
params
.
uid
...
...
apps/product/models/detail.js
View file @
05a0019
...
...
@@ -188,7 +188,6 @@ module.exports = class extends global.yoho.BaseModel {
return
Promise
.
resolve
(
false
);
}
return
this
.
get
({
url
:
'favorite'
,
data
:
{
method
:
'app.favorite.isFavoriteNew'
,
uid
:
uid
,
...
...
apps/product/models/shop.js
View file @
05a0019
...
...
@@ -238,7 +238,6 @@ module.exports = class extends global.yoho.BaseModel {
}
return
this
.
get
({
url
:
'favorite'
,
data
:
finalParams
});
}
...
...
Please
register
or
login
to post a comment