Showing
3 changed files
with
0 additions
and
3 deletions
@@ -74,7 +74,6 @@ class newHome extends global.yoho.BaseModel { | @@ -74,7 +74,6 @@ class newHome extends global.yoho.BaseModel { | ||
74 | _favoriteData(params) { | 74 | _favoriteData(params) { |
75 | if (params.uid) { | 75 | if (params.uid) { |
76 | let options = { | 76 | let options = { |
77 | - url: 'favorite', | ||
78 | data: { | 77 | data: { |
79 | method: 'app.favorite.getFavoriteCount', | 78 | method: 'app.favorite.getFavoriteCount', |
80 | uid: params.uid | 79 | uid: params.uid |
@@ -188,7 +188,6 @@ module.exports = class extends global.yoho.BaseModel { | @@ -188,7 +188,6 @@ module.exports = class extends global.yoho.BaseModel { | ||
188 | return Promise.resolve(false); | 188 | return Promise.resolve(false); |
189 | } | 189 | } |
190 | return this.get({ | 190 | return this.get({ |
191 | - url: 'favorite', | ||
192 | data: { | 191 | data: { |
193 | method: 'app.favorite.isFavoriteNew', | 192 | method: 'app.favorite.isFavoriteNew', |
194 | uid: uid, | 193 | uid: uid, |
@@ -238,7 +238,6 @@ module.exports = class extends global.yoho.BaseModel { | @@ -238,7 +238,6 @@ module.exports = class extends global.yoho.BaseModel { | ||
238 | } | 238 | } |
239 | 239 | ||
240 | return this.get({ | 240 | return this.get({ |
241 | - url: 'favorite', | ||
242 | data: finalParams | 241 | data: finalParams |
243 | }); | 242 | }); |
244 | } | 243 | } |
-
Please register or login to post a comment