This commit is contained in:
2026-08-26 14:40:35 +08:00
parent e3280623de
commit ab79dd89be
12 changed files with 56 additions and 54 deletions
+2 -2
View File
@@ -160,7 +160,7 @@ def start_apply_shared(params: dict) -> dict:
return {"ok": False, "msg": "已有投递任务在运行"}
applicant.start(
keywords=list(params.get("keywords") or []),
city_code=str(params.get("city_code") or ""),
city=str(params.get("city") or ""),
salary_min=params.get("salary_min"),
salary_max=params.get("salary_max"),
min_score=int(params.get("min_score") or 65),
@@ -207,7 +207,7 @@ class AuthReq(BaseModel):
class StartApplyReq(BaseModel):
keywords: list[str]
city_code: str
city: str
salary_min: int | None = None
salary_max: int | None = None
min_score: int = 65