update
This commit is contained in:
parent
21510302a8
commit
fd5146f70f
@ -140,7 +140,9 @@ class DeptValidate extends BaseValidate
|
||||
return true;
|
||||
}
|
||||
|
||||
public function checkLeader($value){
|
||||
public function checkLeader($value)
|
||||
{
|
||||
if (empty($value)) return true;
|
||||
$data = Admin::where('id', $value)->findOrEmpty();
|
||||
if ($data->isEmpty()) {
|
||||
return '负责人信息不存在';
|
||||
|
Loading…
x
Reference in New Issue
Block a user