Authored by yyq

home consult

... ... @@ -85,7 +85,7 @@ function consultList(uid, page, limit) {
skns.push(consult.skn);
});
let goodInfos = yield getProductGoodsInfo(skns);
let goodInfos = yield this.getProductGoodsInfo(skns);
origin.consult_list.forEach(consult => {
let info = {
... ... @@ -129,6 +129,7 @@ module.exports = class extends global.yoho.BaseModel {
constructor(ctx) {
super(ctx);
this.getProductGoodsInfo = getProductGoodsInfo.bind(this);
this.consultList = consultList.bind(this);
}
};
... ...