Commit cfead1a5 authored by clone's avatar clone

bug

parent 98816022
...@@ -70,7 +70,7 @@ class User extends Basic ...@@ -70,7 +70,7 @@ class User extends Basic
"money_end" => 10000,//租金 "money_end" => 10000,//租金
"start_time" => "2016-05-25", "start_time" => "2016-05-25",
"end_time" => "2018-05-30", "end_time" => "2018-05-30",
"user_id" => 1, "id" => 1,
"user_name" => "12312", "user_name" => "12312",
"user_phone" => "138171212", "user_phone" => "138171212",
"pageNo" => 1, "pageNo" => 1,
...@@ -93,7 +93,7 @@ class User extends Basic ...@@ -93,7 +93,7 @@ class User extends Basic
return $this->response("101", "请求参数错误"); return $this->response("101", "请求参数错误");
} }
if (isset($params['user_id'])) { if (isset($params['id'])) {
$conditions['id'] = $params['user_id']; $conditions['id'] = $params['user_id'];
} }
......
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