Эх сурвалжийг харах

Merge branch '20250306_jobrecuiting_fr'

15313670163 5 өдөр өмнө
parent
commit
58d769e7b5

+ 3 - 0
app/JsonRpc/NewsService.php

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