Commit 1caabbe9 authored by clone's avatar clone

bug

parent dddac7d1
......@@ -61,7 +61,7 @@ class User extends Basic
public function searchUser()
{
$params = $this->params;
/* $params = array(
/*$params = array(
"user_status" => 0,//客户状态(0:求租;1:已租;-1:无效)
"yetai" => "休闲娱乐",
"area_start" => 1,//面积起始范围 room_area2
......@@ -153,7 +153,7 @@ class User extends Basic
}
$userList = $this->userModel->selectUserList($field, $conditions, $pageNo, $pageSize, "id desc");
$userList = $this->userModel->selectUserList($field, $conditions, $pageNo, $pageSize, "a.id desc");
if (empty($userList)) {
return $this->response("200", "此条件没有找到数据");
}
......
......@@ -556,7 +556,7 @@ class Users extends Model
->select();
}
public function selectUserList($field, $params, $pageNo, $pageSize, $order = "id desc")
public function selectUserList($field, $params, $pageNo, $pageSize, $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