...
|
...
|
@@ -58,7 +58,6 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
method: 'app.favorite.getFavoriteCount',
|
|
|
uid: params.uid
|
|
|
},
|
|
|
api: global.yoho.SingleAPI,
|
|
|
param: {code: 200}
|
|
|
});
|
|
|
} else {
|
...
|
...
|
@@ -286,10 +285,11 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
if (uid) {
|
|
|
return this.get({
|
|
|
data: {
|
|
|
method: 'app.browse.product',
|
|
|
method: 'app.browse.pagelist',
|
|
|
uid: uid,
|
|
|
limit: limit,
|
|
|
page: page
|
|
|
page: page,
|
|
|
category_id: 0
|
|
|
},
|
|
|
param: {code: 200}
|
|
|
}).then((result) => {
|
...
|
...
|
@@ -307,10 +307,6 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
return resu;
|
|
|
}
|
|
|
|
|
|
if (page > result.data.page_total) {
|
|
|
return [];
|
|
|
}
|
|
|
|
|
|
if (list.data && list.data.product_list) {
|
|
|
resu = {
|
|
|
browseRecord: []
|
...
|
...
|
|