$info = User::select(); $info = User::all('1,2,3'); 用if ($info->isEmpty()) {} 其他的find(); value(); column(); get(); getByName(); 还有聚合查询 都可以用if (empty($info)) {}