|
|
@@ -61,8 +61,8 @@ class Product extends Api
|
|
|
->join("product_list b", "a.product_id = b.id", "left")
|
|
|
->join("user u", "a.user_id = u.id", "left")
|
|
|
->join("products d", "b.type_id = d.id", "left")
|
|
|
- ->join("product_area d", "d.id = a.area_id", "left") //地区
|
|
|
- ->field('a.id,'.'b.'.$this->lan.'_name as name,b.thum as img_url,price,u.nickname,d.'.$this->lan.'_title as title,d.address')
|
|
|
+ ->join("product_area dr", "dr.id = a.area_id", "left") //地区
|
|
|
+ ->field('a.id,'.'b.'.$this->lan.'_name as name,b.thum as img_url,price,u.nickname,d.'.$this->lan.'_title as title,dr.address')
|
|
|
->where('a.status', $productTransfer::NORMAL)
|
|
|
->where($map)
|
|
|
->order($order)
|