浏览代码

b端获取职位机会列表

15313670163 1 天之前
父节点
当前提交
58d8753981
共有 2 个文件被更改,包括 25 次插入0 次删除
  1. 15 0
      app/JsonRpc/NewsService.php
  2. 10 0
      app/JsonRpc/NewsServiceInterface.php

+ 15 - 0
app/JsonRpc/NewsService.php

@@ -1621,5 +1621,20 @@ class NewsService implements NewsServiceInterface
         }
         }
         return Result::success($result);
         return Result::success($result);
     }
     }
+    /*
+    * 获取招聘信息列表
+    * */
+    public function getRecruitingList(array $data): array
+    {
+        // $user = User::where('id', $data['user_id'])->first();
+        // if(empty($user)){
+        //     return Result::error("用户不存在", 0);
+        // }
+        // $web = Website::where('id', $data['website_id'])->first();
+        // if(empty($web)){
+        //     return Result::error("网站不存在", 0);
+        // }
+
+    }
     // 20250306 招聘
     // 20250306 招聘
 }
 }

+ 10 - 0
app/JsonRpc/NewsServiceInterface.php

@@ -235,4 +235,14 @@ interface NewsServiceInterface
      * @return array
      * @return array
      */
      */
     public function checkJobRecruiting(array $data):array;
     public function checkJobRecruiting(array $data):array;
+    /**
+     * @param array $data
+     * @return array
+     */
+    public function getRecruitingList(array $data):array;
+    /**
+     * @param array $data
+     * @return array
+     */
+    public function getRecruitingInfo(array $data):array;
 }
 }