wang hou sheng 8 months ago
parent 96c7082f32
commit d5db5b63a2
  1. 3
      app/common/model/Goods.php

@ -451,6 +451,9 @@ class Goods extends BaseModel
if (isset($param['channel']) && $param['channel'] !== '') {
$filter[] = ['goods.channel', '=', $params['channel']];
}
if (isset($param['is_grab']) && $param['is_grab'] !== '') {
$filter[] = ['goods.is_grab', '=', intval($params['is_grab'])];
}
if (isset($param['is_self']) && $param['is_self'] !== '') {
$filter[] = ['goods.is_self', '=', $params['is_self']];
}

Loading…
Cancel
Save