Authored by 张孝茹

single 去掉url

... ... @@ -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
... ...
... ... @@ -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,
... ...
... ... @@ -238,7 +238,6 @@ module.exports = class extends global.yoho.BaseModel {
}
return this.get({
url: 'favorite',
data: finalParams
});
}
... ...