Authored by htoooth

fix

... ... @@ -387,10 +387,9 @@ module.exports = class favorite extends global.yoho.BaseModel {
result = yield that._cancel('shop', uid, group.sid);
}
if (!group) {
if (_.isEmpty(group)) {
result = yield that._cancel('brand', uid, ids);
}
console.log(result);
return result;
})();
... ...