...
|
...
|
@@ -1169,6 +1169,7 @@ class Index extends Api |
|
|
$list = $this->three_arr($lists);
|
|
|
$count = \db('product')
|
|
|
->alias('a')
|
|
|
->where($map4)
|
|
|
->join('logo b', 'b.id=a.logo_id')
|
|
|
->join('class_con d', 'd.id=a.class_con_id')
|
|
|
->join('classa c', 'c.id=a.class_id')
|
...
|
...
|
@@ -1176,7 +1177,6 @@ class Index extends Api |
|
|
->where($map1)
|
|
|
->where($map2)
|
|
|
->where($map3)
|
|
|
->where($map4)
|
|
|
->select();
|
|
|
foreach ($product_id as $k1 => $v1) {
|
|
|
$list[$k1]['avatar'] = cdnurl($v1['avatar'], true);
|
...
|
...
|
|