mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
349b4bab49
* feat(boss): add jobType filter and bossOnline output Add --jobType param (全职/兼职/实习 = 1901/1902/1903) so callers can exclude internships at the API layer instead of post-filtering by name keywords. Without this, --experience 应届 returns a mix of 校招 and 实习 because BOSS bundles both under code 108. Also surface bossOnline (Y/empty) in results so callers can prioritize HRs currently online — this is the only activity signal exposed by the web API; 'recently active' / 'newly posted' filters are mobile-only and not accepted by /wapi/zpgeek/search/joblist.json. * fix(boss): correct experience codes (应届=102, not 108) The previous EXP_MAP was off by ~2 across the board. Verified each code by clicking BOSS web's filter UI and reading the URL: 108 = 在校生 (interns) was: '在校/应届','应届' → 108 (wrong) 102 = 应届生 (校招 full-time) was: '1-3年' → 102 (wrong) 101 = 经验不限 was: '1年以内' → 101 (wrong) 103 = 1年以内 was missing 104 = 1-3年 was: '3-5年' → 103 (wrong) 105 = 3-5年 was: '5-10年' → 104 (wrong) 106 = 5-10年 was: '10年以上' → 105 (wrong) 107 = 10年以上 was missing This is why --experience 应届 had been returning mostly 实习生 jobs: it was secretly querying 在校生 (108). The fix makes 应届 actually mean 应届生 (102 = 校招), and lets users pick 在校生 (108) explicitly when they do want internships. * fix(boss): validate job type filter * fix(boss): keep legacy campus experience alias --------- Co-authored-by: youhh <youhh@1051233107@qq.com> Co-authored-by: jackwener <jakevingoo@gmail.com>