|
@@ -64,6 +64,9 @@ class PoolTalent extends Auth
|
|
$query->field('id,headimg');
|
|
$query->field('id,headimg');
|
|
}])
|
|
}])
|
|
->paginate();
|
|
->paginate();
|
|
|
|
+ if(count($list) < 1){
|
|
|
|
+ $this->error('未匹配到结果',$list);
|
|
|
|
+ }
|
|
$this->success('成功',$list);
|
|
$this->success('成功',$list);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -106,4 +109,4 @@ class PoolTalent extends Auth
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-}
|
|
|
|
|
|
+}
|