Commit 5e96e0a7 by hcy001

1

parent 68705a40
Showing with 1 additions and 1 deletions
...@@ -53,7 +53,7 @@ class SearchModel ...@@ -53,7 +53,7 @@ class SearchModel
if (!$res){ if (!$res){
return false; return false;
} }
if ($res['code'] >0){ if ($res['code'] >0 || $res['data'] == "" || count($res['data']) == 0){
return false; return false;
} }
return $res['data']; 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