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
@@ -89,8 +89,8 @@ def create_task(
if req.task_type == "start_apply":
params = req.params or {}
if not params.get("keywords") or not params.get("city_code"):
raise HTTPException(status_code=422, detail="开始投递必须提供 keywords 与 city_code")
if not params.get("keywords") or not params.get("city"):
raise HTTPException(status_code=422, detail="开始投递必须提供 keywords 与 city")
task = RpaTask(
user_id=current_user.id,