...
|
...
|
@@ -10,7 +10,6 @@ const _ = require('lodash'); |
|
|
const comment = require('./consult-comment');
|
|
|
const bundle = require('./bundle');
|
|
|
const api = global.yoho.API;
|
|
|
const singleAPI = global.yoho.SingleAPI;
|
|
|
const helpers = global.yoho.helpers;
|
|
|
const productProcess = require(`${utils}/product-process`);
|
|
|
|
...
|
...
|
@@ -194,8 +193,7 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
method: 'app.favorite.isFavoriteNew',
|
|
|
uid: uid,
|
|
|
id: productId
|
|
|
},
|
|
|
api: singleAPI
|
|
|
}
|
|
|
}).then((result) => {
|
|
|
if (result && result.code === 200) {
|
|
|
return result.data;
|
...
|
...
|
|