删除不要文件
This commit is contained in:
@@ -111,6 +111,11 @@ class MatchService
|
||||
return [];
|
||||
}
|
||||
|
||||
// 转换为数组(如果返回的是对象)
|
||||
if (is_object($user)) {
|
||||
$user = $user->toArray();
|
||||
}
|
||||
|
||||
// 构建简历数据结构
|
||||
$resume = [
|
||||
'user_id' => $userId,
|
||||
@@ -160,7 +165,7 @@ class MatchService
|
||||
private function filterPositionsFromDb(array $resume): array
|
||||
{
|
||||
$query = Db::name('no_notice_position')
|
||||
->where('deleted_at', null); // 排除已删除的岗位
|
||||
->whereNull('deleted_at'); // 排除已删除的岗位
|
||||
|
||||
// 计算年龄
|
||||
$age = 0;
|
||||
|
||||
Reference in New Issue
Block a user