|
|
@@ -110,7 +110,7 @@ class Product extends Api
|
|
|
->join("product_list b", "a.product_id = b.id", "left")
|
|
|
->join("user_collect c", "c.product_id = a.product_id and c.user_id = {$this->auth->id}")
|
|
|
->group('a.product_id')
|
|
|
- ->field('a.id,'.'b.'.$this->lan.'_name as name,b.thum as img_url,min(a.price) as price,a.product_id,a.type_id')
|
|
|
+ ->field('a.id,'.'b.'.$this->lan.'_name as name,b.thum as img_url,min(a.price) as price,a.product_id,b.type_id')
|
|
|
->where('a.status', $productTransfer::Normal)
|
|
|
->where($map)
|
|
|
->order($order)
|