瀏覽代碼

Merge branch '20250306_jobrecuiting_fr'

15313670163 5 天之前
父節點
當前提交
58d769e7b5
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      app/JsonRpc/NewsService.php

+ 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 = [];