Commit 396f6d36 by 朱继来

merge

parents 73ff9e88 5e96e0a7
Showing with 1 additions and 1 deletions
......@@ -53,7 +53,7 @@ class SearchModel
if (!$res){
return false;
}
if ($res['code'] >0){
if ($res['code'] >0 || $res['data'] == "" || count($res['data']) == 0){
return false;
}
return $res['data'];
......
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 sign in to comment