UPDATE article_templates SET card_config_json = jsonb_set( jsonb_set( jsonb_set( jsonb_set( jsonb_set( jsonb_set( card_config_json #- '{wizard,basic,cards,template_fields}', '{wizard,steps,basic,description}', to_jsonb('品牌与关键词背景信息'::text), true ), '{wizard,basic,cards,competitors}', '{"visible": false}'::jsonb, true ), '{wizard,derived_inputs}', '{"subject": {"source": "primary_keyword_or_brand"}}'::jsonb, true ), '{wizard,outline,custom_placeholder}', to_jsonb('自定义输入,不超过10个字'::text), true ), '{wizard,outline,custom_max_length}', '10'::jsonb, true ), '{wizard,outline,sections}', '[ { "key": "summary", "label": "摘要", "default": true }, { "key": "intro", "label": "引言", "default": true }, { "key": "methodology", "label": "研究方法与数据来源", "default": true }, { "key": "segment_overview", "label": "细分市场概述", "default": true }, { "key": "positioning_analysis", "label": "产品定位与优缺点", "default": true }, { "key": "user_research", "label": "用户调研", "default": false }, { "key": "target_audience", "label": "目标人群", "default": false }, { "key": "competitor_comparison", "label": "竞品对比", "default": false }, { "key": "research_conclusion", "label": "研究结论", "default": false }, { "key": "analysis_recommendations", "label": "分析建议", "default": false } ]'::jsonb, true ), updated_at = NOW() WHERE scope = 'platform' AND template_key = 'research_report' AND deleted_at IS NULL;