兜底
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user