baseline: Clover 独立仓库首次基线提交
将 Clover 从上层产品包旧仓库中独立出来,建立专属版本控制。 当前状态=纵切片端到端已打通(登录→选品→出文出图→审核→下载包), M1文案质量去套路化已验收。此提交作为后续按核销清单逐条修复的基线。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
16
backend/fire_real.py
Normal file
16
backend/fire_real.py
Normal file
@@ -0,0 +1,16 @@
|
||||
"""真实数据端到端验证:倍分子素颜霜(用完即删)"""
|
||||
from app.core.database import SessionLocal
|
||||
from app.models.task import GenerationTask
|
||||
from app.workers.tasks import run_generation_pipeline
|
||||
|
||||
db = SessionLocal()
|
||||
task = GenerationTask(
|
||||
workspace_id=3, product_id=1, operator_id=4,
|
||||
theme="倍分子素颜霜真实数据端到端", text_count=1, image_count=6,
|
||||
track="ai", need_product_image=True, status="pending",
|
||||
)
|
||||
db.add(task); db.commit(); db.refresh(task)
|
||||
tid = task.id; db.close()
|
||||
print("NEW_TASK_ID=", tid)
|
||||
run_generation_pipeline.delay(tid)
|
||||
print("ENQUEUED")
|
||||
Reference in New Issue
Block a user