|
@@ -4352,6 +4352,9 @@ class NewsService implements NewsServiceInterface
|
|
if(empty($user) || ($user['type_id']!= 10000 && $user['type_id']!= 1)){
|
|
if(empty($user) || ($user['type_id']!= 10000 && $user['type_id']!= 1)){
|
|
return Result::error("用户不存在", 0);
|
|
return Result::error("用户不存在", 0);
|
|
}
|
|
}
|
|
|
|
+ if($user['type_id'] == 1){
|
|
|
|
+ $where['user_id'] = $user['id'];
|
|
|
|
+ }
|
|
$recruitingId = JobApply::where('user_id', $data['user_id'])
|
|
$recruitingId = JobApply::where('user_id', $data['user_id'])
|
|
->pluck('recruit_id');
|
|
->pluck('recruit_id');
|
|
$where = [];
|
|
$where = [];
|