Authored by 张孝茹

浏览记录换接口

... ... @@ -286,10 +286,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 +308,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: []
... ...