修复
This commit is contained in:
parent
16fa01085a
commit
a2c26954cd
@ -1167,8 +1167,6 @@ class ProductRepository extends BaseRepository
|
|||||||
$where['product_type'] = $productType;
|
$where['product_type'] = $productType;
|
||||||
}
|
}
|
||||||
$res = $this->dao->getWhere($where, $field, $with);
|
$res = $this->dao->getWhere($where, $field, $with);
|
||||||
$a= $this->getRecommend($res['product_id'], $res['mer_id']);
|
|
||||||
halt($a);
|
|
||||||
if (!$res) return [];
|
if (!$res) return [];
|
||||||
switch ($res['product_type']) {
|
switch ($res['product_type']) {
|
||||||
case 0:
|
case 0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user