wangzhibo
2026-10-08 220e4fab27b7f419b3e89e2f2d28ae789aac09d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-- 更新现有的 get_news_from_newsnow 插件配置
UPDATE ai_model_provider 
SET fields = JSON_ARRAY(
    JSON_OBJECT(
        'key', 'url',
        'type', 'string',
        'label', '接口地址',
        'default', 'https://newsnow.busiyi.world/api/s?id='
    ),
    JSON_OBJECT(
        'key', 'news_sources',
        'type', 'string',
        'label', '新闻源配置',
        'default', '澎湃新闻;百度热搜;财联社'
    )
)
WHERE provider_code = 'get_news_from_newsnow' 
AND model_type = 'Plugin';