作者 王智

222

... ... @@ -1165,7 +1165,7 @@ class Index extends Api
foreach ($product_id as $k => $v) {
$lists[$k] = $this->product_arr($v['id']);
}
$map4['a.stock'] = ['GT', 0];
$map4['a.id'] = ['eq', 1];
$list = $this->three_arr($lists);
$count = \db('product')
->alias('a')
... ...