From 3bed50f316a4cefff58324f1228d85f413a66fc4 Mon Sep 17 00:00:00 2001 From: Pine Date: Thu, 27 Aug 2026 19:42:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(tasks):=20=E4=BC=81=E4=B8=9A=E5=8F=91?= =?UTF-8?q?=E6=A0=87=20EnterpriseTaskCreate=20=E5=A2=9E=E5=A4=9A=E7=AB=AF?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=AD=97=E6=AE=B5(=E5=8F=AF=E8=A7=81?= =?UTF-8?q?=E6=80=A7/=E6=8C=87=E6=B4=BE/=E5=9B=AD=E5=8C=BA/=E5=90=8D?= =?UTF-8?q?=E9=A2=9D/=E6=9D=A1=E4=BB=B6/=E6=89=98=E7=AE=A1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/schemas/portals.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/app/api/schemas/portals.py b/app/api/schemas/portals.py index 845fdd8..a985053 100644 --- a/app/api/schemas/portals.py +++ b/app/api/schemas/portals.py @@ -10,6 +10,22 @@ class EnterpriseTaskCreate(BaseModel): budget_max: int = 0 deadline: str = "" publisher_name: str = "" + # ── 多端任务体系扩展字段 ── + publisher_role: str = "enterprise" + visibility: str = "public" + c_visible: bool = True + park_public: bool = False + assign_type: str = "" + assign_park_id: str | None = None + assign_opc_id: str | None = None + park_id: str | None = None + delivery_days: int = 0 + headcount: int = 0 + exclusive: bool = False + bid_quota: int = 0 + win_quota: int = 0 + eligibility: str = "{}" + settle_mode: str = "operator_escrow"