Commit 790c1f02 authored by zhuwei's avatar zhuwei

1

parent 4f036d3d
......@@ -1117,7 +1117,7 @@ class OfficeRoomService
$params["c.is_del"] = 0;
$res = $m_office_room->getMyBuildingRoom($field, $params,$pageSize,$pageNo);
if (!$res) {
return ['status'=>101,'msg'=>'此房源不存在','data'=>''];
return ['status'=>200,'msg'=>'此房源不存在','data'=>''];
}
foreach ($res as $k=>$v) {
......
......@@ -270,7 +270,7 @@ class OfficeGRoom extends BaseModel
* @param string $order_
* @return false|\PDOStatement|string|\think\Collection
*/
public function getMyBuildingRoom($field, $params,$pageSize,$pageNo,$order_='id desc')
public function getMyBuildingRoom($field, $params,$pageSize,$pageNo,$order_='a.id desc')
{
$result = Db::table($this->table)
->field($field)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment