正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -1165,7 +1165,7 @@ class Index extends Api | @@ -1165,7 +1165,7 @@ class Index extends Api | ||
1165 | foreach ($product_id as $k => $v) { | 1165 | foreach ($product_id as $k => $v) { |
1166 | $lists[$k] = $this->product_arr($v['id']); | 1166 | $lists[$k] = $this->product_arr($v['id']); |
1167 | } | 1167 | } |
1168 | - $map4['a.stock'] = ['GT', 0]; | 1168 | + $map4['a.id'] = ['eq', 1]; |
1169 | $list = $this->three_arr($lists); | 1169 | $list = $this->three_arr($lists); |
1170 | $count = \db('product') | 1170 | $count = \db('product') |
1171 | ->alias('a') | 1171 | ->alias('a') |
-
请 注册 或 登录 后发表评论