mirror of
https://github.com/labring/FastGPT.git
synced 2026-05-07 01:02:55 +08:00
add plan activity config (#6139)
* activity points * modal * ui * fix * pref: zod schema * perf: ad api with zod * perf: plan year switch * perf: plan * i18n * fix: hook * fix: activity checker * fix: i18n * fix clear token * fix * back * can close modal in pay * ad token * rename * fix * total points * eng i18n --------- Co-authored-by: archer <545436317@qq.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { createDocument } from 'zod-openapi';
|
||||
import { DashboardPath } from './admin/core/dashboard';
|
||||
import { TagsMap } from './tag';
|
||||
import { AdminSupportPath } from './admin/support';
|
||||
|
||||
export const adminOpenAPIDocument = createDocument({
|
||||
openapi: '3.1.0',
|
||||
@@ -10,13 +11,18 @@ export const adminOpenAPIDocument = createDocument({
|
||||
description: 'FastGPT Admin API 文档'
|
||||
},
|
||||
paths: {
|
||||
...DashboardPath
|
||||
...DashboardPath,
|
||||
...AdminSupportPath
|
||||
},
|
||||
servers: [{ url: '/api' }],
|
||||
'x-tagGroups': [
|
||||
{
|
||||
name: '仪表盘',
|
||||
tags: [TagsMap.adminDashboard]
|
||||
},
|
||||
{
|
||||
name: '系统配置',
|
||||
tags: [TagsMap.adminInform]
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user