fix: 修复爬虫问题
This commit is contained in:
@@ -25,6 +25,15 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
},
|
||||
'/api/news': {
|
||||
get: {
|
||||
summary: '资讯内容',
|
||||
description: '从 news_content 表读取,支持 ?limit=50 分页',
|
||||
tags: ['资讯'],
|
||||
parameters: [{ in: 'query', name: 'limit', schema: { type: 'integer', default: 50 } }],
|
||||
responses: { 200: { description: 'items 数组' } },
|
||||
},
|
||||
},
|
||||
'/api/db/dashboard': {
|
||||
get: {
|
||||
summary: '数据库面板',
|
||||
@@ -130,5 +139,5 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
},
|
||||
tags: [{ name: '态势' }, { name: '统计' }, { name: '反馈' }, { name: '调试' }, { name: '系统' }],
|
||||
tags: [{ name: '态势' }, { name: '资讯' }, { name: '统计' }, { name: '反馈' }, { name: '调试' }, { name: '系统' }],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user