API Reference

Base URL: http://localhost:3000

共 169 个接口。所有请求和回调地址均使用当前服务器域名。

AI Model: 11Channel Management: 25Default: 1Groups: 5Logs: 8Model Management: 9Oauth: 10Payment: 10Redemption: 7Security Verification: 2Statistics: 2System Settings: 6System: 13Tasks: 4Token Management: 8Two Factor Auth: 6User Auth: 10User Management: 26Vendors: 6

原生Claude格式

Anthropic Claude Messages API 格式的请求。

需要在请求头中包含 anthropic-version。

POST/v1/messages

原生Claude格式

请求地址:http://localhost:3000/v1/messages

Anthropic Claude Messages API 格式的请求。 需要在请求头中包含 anthropic-version。

请求参数

名称位置必填说明
anthropic-versionheaderAnthropic API 版本
x-api-keyheaderAnthropic API Key (可选,也可使用 Bearer Token)

请求体

字段类型必填说明
modelstring
messagesarray
messages[].rolestring
messages[].contentstring | array
systemstring | array
max_tokensinteger
temperaturenumber
top_pnumber
top_kinteger
streamboolean
stop_sequencesarray
toolsarray
tools[].namestring
tools[].descriptionstring
tools[].input_schemaobject
tool_choiceobject
thinkingobject
thinking.typestring
thinking.budget_tokensinteger
metadataobject
metadata.user_idstring

响应

状态码说明
200成功创建响应

Gemini媒体识别

Gemini图像、PDF、音频、视频识别请求

⚠️注意:仅支持通过 inlineData 以 base64 方式上传图像、PDF、音频、视频,不支持 fileData.fileUri 或 File API。

POST/v1beta/models/{model}:generateContent

Gemini媒体识别

请求地址:http://localhost:3000/v1beta/models/{model}:generateContent

Gemini图像、PDF、音频、视频识别请求 ⚠️注意:仅支持通过 inlineData 以 base64 方式上传图像、PDF、音频、视频,不支持 fileData.fileUri 或 File API。

请求参数

名称位置必填说明
modelpath模型名称

请求体

字段类型必填说明
contentsarray
contents[].rolestring
contents[].partsarray
contents[].parts[].textstring
contents[].parts[].inlineDataobject
generationConfigobject
generationConfig.temperaturenumber
generationConfig.topPnumber
generationConfig.topKinteger
generationConfig.maxOutputTokensinteger
generationConfig.stopSequencesarray
safetySettingsarray
safetySettings[].categorystring
safetySettings[].thresholdstring
toolsarray
systemInstructionobject
systemInstruction.partsarray

响应

状态码说明
200成功

Gemini文本聊天

代理 Gemini API 请求。

路径格式: /v1beta/models/{model_name}:{action}

例如:

/v1beta/models/gemini-2.5-pro:generateContent

/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse

POST/v1beta/models/{model}:generateContent

Gemini文本聊天

请求地址:http://localhost:3000/v1beta/models/{model}:generateContent

代理 Gemini API 请求。 路径格式: /v1beta/models/{model_name}:{action}

例如:

/v1beta/models/gemini-2.5-pro:generateContent

/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse

请求参数

名称位置必填说明
modelpath模型名称

请求体

字段类型必填说明
contentsarray
contents[].rolestring
contents[].partsarray
contents[].parts[].textstring
contents[].parts[].inlineDataobject
generationConfigobject
generationConfig.temperaturenumber
generationConfig.topPnumber
generationConfig.topKinteger
generationConfig.maxOutputTokensinteger
generationConfig.stopSequencesarray
safetySettingsarray
safetySettings[].categorystring
safetySettings[].thresholdstring
toolsarray
systemInstructionobject
systemInstruction.partsarray

响应

状态码说明
200成功

ChatCompletions格式

根据对话历史创建模型响应。支持流式和非流式响应。

兼容 OpenAI Chat Completions API。

POST/v1/chat/completions

ChatCompletions格式

请求地址:http://localhost:3000/v1/chat/completions

根据对话历史创建模型响应。支持流式和非流式响应。 兼容 OpenAI Chat Completions API。

请求体

字段类型必填说明
modelstring模型 ID
messagesarray对话消息列表
messages[].rolestring消息角色
messages[].contentstring | array消息内容
messages[].namestring发送者名称
messages[].tool_callsarray
messages[].tool_calls[].idstring
messages[].tool_calls[].typestring
messages[].tool_calls[].functionobject
messages[].tool_call_idstring工具调用 ID(用于 tool 角色消息)
messages[].reasoning_contentstring推理内容
temperaturenumber采样温度
top_pnumber核采样参数
ninteger生成数量
streamboolean是否流式响应
stream_optionsobject
stream_options.include_usageboolean
stopstring | array停止序列
max_tokensinteger最大生成 Token 数
max_completion_tokensinteger最大补全 Token 数
presence_penaltynumber
frequency_penaltynumber
logit_biasobject
userstring
toolsarray
tools[].typestring
tools[].functionobject
tools[].function.namestring
tools[].function.descriptionstring
tools[].function.parametersobjectJSON Schema 格式的参数定义
tool_choicestring | object
response_formatobject
response_format.typestring
response_format.json_schemaobjectJSON Schema 定义
seedinteger
reasoning_effortstring推理强度 (用于支持推理的模型)
modalitiesarray
audioobject
audio.voicestring
audio.formatstring

响应

状态码说明
200成功创建响应
400请求参数错误
429请求频率限制

Responses格式

OpenAI Responses API,用于创建模型响应。

支持多轮对话、工具调用、推理等功能。

POST/v1/responses

Responses格式

请求地址:http://localhost:3000/v1/responses

OpenAI Responses API,用于创建模型响应。 支持多轮对话、工具调用、推理等功能。

请求体

字段类型必填说明
modelstring
inputstring | array输入内容,可以是字符串或消息数组
instructionsstring
max_output_tokensinteger
temperaturenumber
top_pnumber
streamboolean
toolsarray
tool_choicestring | object
reasoningobject
reasoning.effortstring
reasoning.summarystring
previous_response_idstring
truncationstring

响应

状态码说明
200成功创建响应

Gemini原生格式

Gemini 图片生成

POST/v1beta/models/{model}:generateContent/

Gemini原生格式

请求地址:http://localhost:3000/v1beta/models/{model}:generateContent/

Gemini 图片生成

请求参数

名称位置必填说明
modelpath模型名称

请求体

字段类型必填说明
contentsarray
contents[].rolestring
contents[].partsarray
contents[].parts[].textstring
generationConfigobject
generationConfig.thinkingConfigobject
generationConfig.thinkingConfig.includeThoughtsboolean是否返回思考内容
generationConfig.responseModalitiesarray
generationConfig.imageConfigobject
generationConfig.imageConfig.aspectRatiostring
generationConfig.imageConfig.imageSizestring

响应

状态码说明
200成功

OpenAI聊天格式

Gemini 图片生成

POST/v1/chat/completions

OpenAI聊天格式

请求地址:http://localhost:3000/v1/chat/completions

Gemini 图片生成

请求体

字段类型必填说明
modelstring
streamboolean
messagesarray
messages[].rolestring
messages[].contentstring
extra_bodyobject
extra_body.googleobject
extra_body.google.image_configobject
contentsarray
contents[].rolestring
contents[].partsarray
contents[].parts[].textstring

响应

状态码说明
200成功

编辑图像

在给定原始图像和提示的情况下创建编辑或扩展图像。

POST/v1/images/edits/

编辑图像

请求地址:http://localhost:3000/v1/images/edits/

请求体

字段类型必填说明
imagestring要编辑的图像。必须是有效的 PNG 文件,小于 4MB,并且是方形的。如果未提供遮罩,图像必须具有透明度,将用作遮罩。
maskstring附加图像,其完全透明区域(例如,alpha 为零的区域)指示image应编辑的位置。必须是有效的 PNG 文件,小于 4MB,并且尺寸与原始image相同。
promptstring所需图像的文本描述。最大长度为 1000 个字符。
nstring要生成的图像数。必须介于 1 和 10 之间。
sizestring生成图像的大小。必须是256x256、512x512或 1024x1024之一。
response_formatstring生成的图像返回的格式。必须是url或b64_json。
userstring代表您的最终用户的唯一标识符,可以帮助 OpenAI 监控和检测滥用行为。了解更多。
modelstring

响应

状态码说明
200Response

生成图像

在给定提示的情况下创建图像。了解更多。

POST/v1/images/generations/

生成图像

请求地址:http://localhost:3000/v1/images/generations/

在给定提示的情况下创建图像。了解更多。

请求体

字段类型必填说明
modelstring用于图像生成的模型。dall-e-2、dall-e-3 或 gpt-image-1 之一。默认为 dall-e-2,除非使用特定于 gpt-image-1 的参数。
promptstring所需图像的文本描述。gpt-image-1 的最大长度为 32000 个字符,dall-e-2 的最大长度为 1000 个字符,dall-e-3 的最大长度为 4000 个字符。
ninteger要生成的图像数量。必须介于 1 到 10 之间。对于 dall-e-3,仅支持 n=1。
sizestring生成的图像的大小。对于 gpt-image-1,必须是 1024x1024、1536x1024(横向)、1024x1536(纵向)或自动(默认值)之一,对于 dall-e-2,必须是 256x256、512x512 或 1024x1024 之一,对于 dall-e-3,必须是 1024x1024、1792x1024 或 1024x1792 之一。
backgroundstring允许为生成的图像的背景设置透明度。此参数仅支持 gpt-image-1。必须是以下之一 透明、不透明或自动(默认值)。使用自动时,模型将自动确定图像的最佳背景。 如果是透明的,则输出格式需要支持透明度,因此应将其设置为 png(默认值)或 webp。
moderationstring控制 gpt-image-1 生成的图像的内容审核级别。必须为低, 以进行限制较少的筛选或自动(默认值)。
qualitystring将生成的图像的质量。
streamstring
stylestring
userstring

响应

状态码说明
200Response

原生OpenAI格式

获取当前可用的模型列表。

根据请求头自动识别返回格式:

包含 x-api-key 和 anthropic-version 头时返回 Anthropic 格式

包含 x-goog-api-key 头或 key 查询参数时返回 Gemini 格式

其他情况返回 OpenAI 格式

GET/v1/models

原生OpenAI格式

请求地址:http://localhost:3000/v1/models

获取当前可用的模型列表。 根据请求头自动识别返回格式:

包含 x-api-key 和 anthropic-version 头时返回 Anthropic 格式

包含 x-goog-api-key 头或 key 查询参数时返回 Gemini 格式

其他情况返回 OpenAI 格式

请求参数

名称位置必填说明
keyqueryGoogle API Key (用于 Gemini 格式)
x-api-keyheaderAnthropic API Key (用于 Claude 格式)
anthropic-versionheaderAnthropic API 版本
x-goog-api-keyheaderGoogle API Key (用于 Gemini 格式)

响应

状态码说明
200成功获取模型列表
401认证失败

原生Gemini格式

以 Gemini API 格式返回可用模型列表

GET/v1beta/models

原生Gemini格式

请求地址:http://localhost:3000/v1beta/models

以 Gemini API 格式返回可用模型列表

响应

状态码说明
200成功获取模型列表

批量删除渠道

👨‍💼 需要管理员权限(Admin)

POST/api/channel/batch

批量删除渠道

请求地址:http://localhost:3000/api/channel/batch

👨‍💼 需要管理员权限(Admin)

请求体

字段类型必填说明
idsarray

响应

状态码说明
200成功

批量设置渠道标签

👨‍💼 需要管理员权限(Admin)

POST/api/channel/batch/tag

批量设置渠道标签

请求地址:http://localhost:3000/api/channel/batch/tag

👨‍💼 需要管理员权限(Admin)

请求体

字段类型必填说明
idsarray
tagstring

响应

状态码说明
200成功

复制渠道

👨‍💼 需要管理员权限(Admin)

POST/api/channel/copy/{id}

复制渠道

请求地址:http://localhost:3000/api/channel/copy/{id}

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath
suffixquery
reset_balancequery

响应

状态码说明
200成功

删除已禁用渠道

👨‍💼 需要管理员权限(Admin)

DELETE/api/channel/disabled

删除已禁用渠道

请求地址:http://localhost:3000/api/channel/disabled

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

获取可用模型列表

👨‍💼 需要管理员权限(Admin)

GET/api/channel/fetch_models/{id}

获取可用模型列表

请求地址:http://localhost:3000/api/channel/fetch_models/{id}

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

获取模型列表

👨‍💼 需要管理员权限(Admin)

POST/api/channel/fetch_models

获取模型列表

请求地址:http://localhost:3000/api/channel/fetch_models

👨‍💼 需要管理员权限(Admin)

请求体

字段类型必填说明
base_urlstring
typeinteger
keystring

响应

状态码说明
200成功

修复渠道能力

👨‍💼 需要管理员权限(Admin)

POST/api/channel/fix

修复渠道能力

请求地址:http://localhost:3000/api/channel/fix

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

获取所有渠道

👨‍💼 需要管理员权限(Admin)

GET/api/channel/

获取所有渠道

请求地址:http://localhost:3000/api/channel/

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
pquery
page_sizequery
id_sortquery
tag_modequery
statusquery
typequery

响应

状态码说明
200成功

删除渠道

👨‍💼 需要管理员权限(Admin)

DELETE/api/channel/{id}

删除渠道

请求地址:http://localhost:3000/api/channel/{id}

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

获取指定渠道

👨‍💼 需要管理员权限(Admin)

GET/api/channel/{id}

获取指定渠道

请求地址:http://localhost:3000/api/channel/{id}

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

获取渠道密钥

👑 需要超级管理员权限(Root)+ 安全验证

POST/api/channel/{id}/key

获取渠道密钥

请求地址:http://localhost:3000/api/channel/{id}/key

👑 需要超级管理员权限(Root)+ 安全验证

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

获取已启用模型列表

👨‍💼 需要管理员权限(Admin)

GET/api/channel/models_enabled

获取已启用模型列表

请求地址:http://localhost:3000/api/channel/models_enabled

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

获取渠道模型列表

👨‍💼 需要管理员权限(Admin)

GET/api/channel/models

获取渠道模型列表

请求地址:http://localhost:3000/api/channel/models

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

管理多密钥

👨‍💼 需要管理员权限(Admin)

POST/api/channel/multi_key/manage

管理多密钥

请求地址:http://localhost:3000/api/channel/multi_key/manage

👨‍💼 需要管理员权限(Admin)

请求体

字段类型必填说明
channel_idinteger
actionstring
key_indexinteger

响应

状态码说明
200成功

添加渠道

👨‍💼 需要管理员权限(Admin)

POST/api/channel/

添加渠道

请求地址:http://localhost:3000/api/channel/

👨‍💼 需要管理员权限(Admin)

请求体

字段类型必填说明
modestring
channelobjectUnresolved $ref: #/definitions/224188811

响应

状态码说明
200成功

更新渠道

👨‍💼 需要管理员权限(Admin)

PUT/api/channel/

更新渠道

请求地址:http://localhost:3000/api/channel/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

搜索渠道

👨‍💼 需要管理员权限(Admin)

禁用标签渠道

👨‍💼 需要管理员权限(Admin)

POST/api/channel/tag/disabled

禁用标签渠道

请求地址:http://localhost:3000/api/channel/tag/disabled

👨‍💼 需要管理员权限(Admin)

请求体

字段类型必填说明
tagstring

响应

状态码说明
200成功

启用标签渠道

👨‍💼 需要管理员权限(Admin)

POST/api/channel/tag/enabled

启用标签渠道

请求地址:http://localhost:3000/api/channel/tag/enabled

👨‍💼 需要管理员权限(Admin)

请求体

字段类型必填说明
tagstring

响应

状态码说明
200成功

获取标签模型

👨‍💼 需要管理员权限(Admin)

GET/api/channel/tag/models

获取标签模型

请求地址:http://localhost:3000/api/channel/tag/models

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
tagquery

响应

状态码说明
200成功

编辑标签渠道

👨‍💼 需要管理员权限(Admin)

PUT/api/channel/tag

编辑标签渠道

请求地址:http://localhost:3000/api/channel/tag

👨‍💼 需要管理员权限(Admin)

请求体

字段类型必填说明
tagstring
new_tagstring
priorityinteger
weightinteger

响应

状态码说明
200成功

测试所有渠道

👨‍💼 需要管理员权限(Admin)

GET/api/channel/test

测试所有渠道

请求地址:http://localhost:3000/api/channel/test

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

测试指定渠道

👨‍💼 需要管理员权限(Admin)

GET/api/channel/test/{id}

测试指定渠道

请求地址:http://localhost:3000/api/channel/test/{id}

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

更新所有渠道余额

👨‍💼 需要管理员权限(Admin)

GET/api/channel/update_balance

更新所有渠道余额

请求地址:http://localhost:3000/api/channel/update_balance

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

更新指定渠道余额

👨‍💼 需要管理员权限(Admin)

GET/api/channel/update_balance/{id}

更新指定渠道余额

请求地址:http://localhost:3000/api/channel/update_balance/{id}

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

使用兑换码

🔐 需要登录(User权限)

POST/api/user/topup

使用兑换码

请求地址:http://localhost:3000/api/user/topup

🔐 需要登录(User权限)

请求体

字段类型必填说明
keystring

响应

状态码说明
200成功

获取所有分组

👨‍💼 需要管理员权限(Admin)

GET/api/group/

获取所有分组

请求地址:http://localhost:3000/api/group/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

获取预填分组

👨‍💼 需要管理员权限(Admin)

GET/api/prefill_group/

获取预填分组

请求地址:http://localhost:3000/api/prefill_group/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

删除预填分组

👨‍💼 需要管理员权限(Admin)

DELETE/api/prefill_group/{id}

删除预填分组

请求地址:http://localhost:3000/api/prefill_group/{id}

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

创建预填分组

👨‍💼 需要管理员权限(Admin)

POST/api/prefill_group/

创建预填分组

请求地址:http://localhost:3000/api/prefill_group/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

更新预填分组

👨‍💼 需要管理员权限(Admin)

PUT/api/prefill_group/

更新预填分组

请求地址:http://localhost:3000/api/prefill_group/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

删除历史日志

👨‍💼 需要管理员权限(Admin)

DELETE/api/log/

删除历史日志

请求地址:http://localhost:3000/api/log/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

获取所有日志

👨‍💼 需要管理员权限(Admin)

GET/api/log/

获取所有日志

请求地址:http://localhost:3000/api/log/

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
pquery
page_sizequery

响应

状态码说明
200成功

搜索日志

👨‍💼 需要管理员权限(Admin)

获取个人日志

🔐 需要登录(User权限)

GET/api/log/self

获取个人日志

请求地址:http://localhost:3000/api/log/self

🔐 需要登录(User权限)

响应

状态码说明
200成功

搜索个人日志

🔐 需要登录(User权限)

获取个人日志统计

🔐 需要登录(User权限)

GET/api/log/self/stat

获取个人日志统计

请求地址:http://localhost:3000/api/log/self/stat

🔐 需要登录(User权限)

响应

状态码说明
200成功

获取日志统计

👨‍💼 需要管理员权限(Admin)

GET/api/log/stat

获取日志统计

请求地址:http://localhost:3000/api/log/stat

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

通过令牌获取日志

🔓 无需鉴权(通过令牌查询)

GET/api/log/token

通过令牌获取日志

请求地址:http://localhost:3000/api/log/token

🔓 无需鉴权(通过令牌查询)

请求参数

名称位置必填说明
keyquery

响应

状态码说明
200成功

获取所有模型元数据

👨‍💼 需要管理员权限(Admin)

GET/api/models/

获取所有模型元数据

请求地址:http://localhost:3000/api/models/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

删除模型

👨‍💼 需要管理员权限(Admin)

DELETE/api/models/{id}

删除模型

请求地址:http://localhost:3000/api/models/{id}

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

获取指定模型

👨‍💼 需要管理员权限(Admin)

GET/api/models/{id}

获取指定模型

请求地址:http://localhost:3000/api/models/{id}

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

获取缺失模型

👨‍💼 需要管理员权限(Admin)

GET/api/models/missing

获取缺失模型

请求地址:http://localhost:3000/api/models/missing

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

创建模型元数据

👨‍💼 需要管理员权限(Admin)

POST/api/models/

创建模型元数据

请求地址:http://localhost:3000/api/models/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

更新模型元数据

👨‍💼 需要管理员权限(Admin)

PUT/api/models/

更新模型元数据

请求地址:http://localhost:3000/api/models/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

搜索模型

👨‍💼 需要管理员权限(Admin)

同步可用模型

👨‍💼 需要管理员权限(Admin)

POST/api/models/sync_upstream

同步可用模型

请求地址:http://localhost:3000/api/models/sync_upstream

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

预览可用模型同步

👨‍💼 需要管理员权限(Admin)

GET/api/models/sync_upstream/preview

预览可用模型同步

请求地址:http://localhost:3000/api/models/sync_upstream/preview

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

Discord OAuth登录

🔓 无需鉴权(OAuth回调)

GET/api/oauth/discord

Discord OAuth登录

请求地址:http://localhost:3000/api/oauth/discord

🔓 无需鉴权(OAuth回调)

请求参数

名称位置必填说明
codequery

响应

状态码说明
200成功

绑定邮箱

🔓 无需鉴权

GET/api/oauth/email/bind

绑定邮箱

请求地址:http://localhost:3000/api/oauth/email/bind

🔓 无需鉴权

请求参数

名称位置必填说明
emailquery
codequery

响应

状态码说明
200成功

GitHub OAuth登录

🔓 无需鉴权(OAuth回调)

GET/api/oauth/github

GitHub OAuth登录

请求地址:http://localhost:3000/api/oauth/github

🔓 无需鉴权(OAuth回调)

请求参数

名称位置必填说明
codequery

响应

状态码说明
200成功

LinuxDO OAuth登录

🔓 无需鉴权(OAuth回调)

GET/api/oauth/linuxdo

LinuxDO OAuth登录

请求地址:http://localhost:3000/api/oauth/linuxdo

🔓 无需鉴权(OAuth回调)

响应

状态码说明
200成功

OIDC登录

🔓 无需鉴权(OAuth回调)

GET/api/oauth/oidc

OIDC登录

请求地址:http://localhost:3000/api/oauth/oidc

🔓 无需鉴权(OAuth回调)

响应

状态码说明
200成功

生成OAuth State

🔓 无需鉴权

GET/api/oauth/state

生成OAuth State

请求地址:http://localhost:3000/api/oauth/state

🔓 无需鉴权

响应

状态码说明
200成功

绑定Telegram

🔓 无需鉴权

GET/api/oauth/telegram/bind

绑定Telegram

请求地址:http://localhost:3000/api/oauth/telegram/bind

🔓 无需鉴权

响应

状态码说明
200成功

Telegram登录

🔓 无需鉴权(OAuth回调)

GET/api/oauth/telegram/login

Telegram登录

请求地址:http://localhost:3000/api/oauth/telegram/login

🔓 无需鉴权(OAuth回调)

响应

状态码说明
200成功

绑定微信

🔓 无需鉴权

GET/api/oauth/wechat/bind

绑定微信

请求地址:http://localhost:3000/api/oauth/wechat/bind

🔓 无需鉴权

响应

状态码说明
200成功

微信OAuth登录

🔓 无需鉴权(OAuth回调)

GET/api/oauth/wechat

微信OAuth登录

请求地址:http://localhost:3000/api/oauth/wechat

🔓 无需鉴权(OAuth回调)

响应

状态码说明
200成功

Creem Webhook

🔓 无需鉴权(Webhook回调)

POST/api/creem/webhook

Creem Webhook

请求地址:http://localhost:3000/api/creem/webhook

🔓 无需鉴权(Webhook回调)

响应

状态码说明
200成功

Stripe Webhook

🔓 无需鉴权(Webhook回调)

POST/api/stripe/webhook

Stripe Webhook

请求地址:http://localhost:3000/api/stripe/webhook

🔓 无需鉴权(Webhook回调)

响应

状态码说明
200成功

获取支付金额

🔐 需要登录(User权限)

POST/api/user/amount

获取支付金额

请求地址:http://localhost:3000/api/user/amount

🔐 需要登录(User权限)

响应

状态码说明
200成功

发起Creem支付

🔐 需要登录(User权限)

POST/api/user/creem/pay

发起Creem支付

请求地址:http://localhost:3000/api/user/creem/pay

🔐 需要登录(User权限)

响应

状态码说明
200成功

易支付回调

🔓 无需鉴权(支付回调)

GET/api/user/epay/notify

易支付回调

请求地址:http://localhost:3000/api/user/epay/notify

🔓 无需鉴权(支付回调)

响应

状态码说明
200成功

发起易支付

🔐 需要登录(User权限)

POST/api/user/pay

发起易支付

请求地址:http://localhost:3000/api/user/pay

🔐 需要登录(User权限)

响应

状态码说明
200成功

获取Stripe支付金额

🔐 需要登录(User权限)

POST/api/user/stripe/amount

获取Stripe支付金额

请求地址:http://localhost:3000/api/user/stripe/amount

🔐 需要登录(User权限)

响应

状态码说明
200成功

发起Stripe支付

🔐 需要登录(User权限)

POST/api/user/stripe/pay

发起Stripe支付

请求地址:http://localhost:3000/api/user/stripe/pay

🔐 需要登录(User权限)

响应

状态码说明
200成功

获取充值信息

🔐 需要登录(User权限)

GET/api/user/topup/info

获取充值信息

请求地址:http://localhost:3000/api/user/topup/info

🔐 需要登录(User权限)

响应

状态码说明
200成功

获取用户充值记录

🔐 需要登录(User权限)

GET/api/user/topup/self

获取用户充值记录

请求地址:http://localhost:3000/api/user/topup/self

🔐 需要登录(User权限)

响应

状态码说明
200成功

获取所有兑换码

👨‍💼 需要管理员权限(Admin)

GET/api/redemption/

获取所有兑换码

请求地址:http://localhost:3000/api/redemption/

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
pquery
page_sizequery

响应

状态码说明
200成功

删除兑换码

👨‍💼 需要管理员权限(Admin)

DELETE/api/redemption/{id}

删除兑换码

请求地址:http://localhost:3000/api/redemption/{id}

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

获取指定兑换码

👨‍💼 需要管理员权限(Admin)

GET/api/redemption/{id}

获取指定兑换码

请求地址:http://localhost:3000/api/redemption/{id}

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

删除无效兑换码

👨‍💼 需要管理员权限(Admin)

DELETE/api/redemption/invalid

删除无效兑换码

请求地址:http://localhost:3000/api/redemption/invalid

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

创建兑换码

👨‍💼 需要管理员权限(Admin)

POST/api/redemption/

创建兑换码

请求地址:http://localhost:3000/api/redemption/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

更新兑换码

👨‍💼 需要管理员权限(Admin)

PUT/api/redemption/

更新兑换码

请求地址:http://localhost:3000/api/redemption/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

搜索兑换码

👨‍💼 需要管理员权限(Admin)

通用安全验证

🔐 需要登录(User权限)

POST/api/verify

通用安全验证

请求地址:http://localhost:3000/api/verify

🔐 需要登录(User权限)

响应

状态码说明
200成功

获取验证状态

🔐 需要登录(User权限)

GET/api/verify/status

获取验证状态

请求地址:http://localhost:3000/api/verify/status

🔐 需要登录(User权限)

响应

状态码说明
200成功

获取所有额度数据

👨‍💼 需要管理员权限(Admin)

GET/api/data/

获取所有额度数据

请求地址:http://localhost:3000/api/data/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

获取个人额度数据

🔐 需要登录(User权限)

GET/api/data/self

获取个人额度数据

请求地址:http://localhost:3000/api/data/self

🔐 需要登录(User权限)

响应

状态码说明
200成功

获取系统选项

👑 需要超级管理员权限(Root)

GET/api/option/

获取系统选项

请求地址:http://localhost:3000/api/option/

👑 需要超级管理员权限(Root)

响应

状态码说明
200成功

迁移控制台设置

👑 需要超级管理员权限(Root)

POST/api/option/migrate_console_setting

迁移控制台设置

请求地址:http://localhost:3000/api/option/migrate_console_setting

👑 需要超级管理员权限(Root)

响应

状态码说明
200成功

更新系统选项

👑 需要超级管理员权限(Root)

PUT/api/option/

更新系统选项

请求地址:http://localhost:3000/api/option/

👑 需要超级管理员权限(Root)

响应

状态码说明
200成功

重置模型倍率

👑 需要超级管理员权限(Root)

POST/api/option/rest_model_ratio

重置模型倍率

请求地址:http://localhost:3000/api/option/rest_model_ratio

👑 需要超级管理员权限(Root)

响应

状态码说明
200成功

获取可同步渠道

👑 需要超级管理员权限(Root)

GET/api/ratio_sync/channels

获取可同步渠道

请求地址:http://localhost:3000/api/ratio_sync/channels

👑 需要超级管理员权限(Root)

响应

状态码说明
200成功

获取可用倍率

👑 需要超级管理员权限(Root)

POST/api/ratio_sync/fetch

获取可用倍率

请求地址:http://localhost:3000/api/ratio_sync/fetch

👑 需要超级管理员权限(Root)

响应

状态码说明
200成功

获取关于信息

🔓 无需鉴权

GET/api/about

获取关于信息

请求地址:http://localhost:3000/api/about

🔓 无需鉴权

响应

状态码说明
200成功

获取首页内容

🔓 无需鉴权

GET/api/home_page_content

获取首页内容

请求地址:http://localhost:3000/api/home_page_content

🔓 无需鉴权

响应

状态码说明
200成功

获取模型列表

🔐 需要登录(User权限)

GET/api/models

获取模型列表

请求地址:http://localhost:3000/api/models

🔐 需要登录(User权限)

响应

状态码说明
200成功

获取公告

🔓 无需鉴权

GET/api/notice

获取公告

请求地址:http://localhost:3000/api/notice

🔓 无需鉴权

响应

状态码说明
200成功

获取定价信息

🔓 无需鉴权(可选登录)

GET/api/pricing

获取定价信息

请求地址:http://localhost:3000/api/pricing

🔓 无需鉴权(可选登录)

响应

状态码说明
200成功

获取隐私政策

🔓 无需鉴权

GET/api/privacy-policy

获取隐私政策

请求地址:http://localhost:3000/api/privacy-policy

🔓 无需鉴权

响应

状态码说明
200成功

获取倍率配置

🔓 无需鉴权

GET/api/ratio_config

获取倍率配置

请求地址:http://localhost:3000/api/ratio_config

🔓 无需鉴权

响应

状态码说明
200成功

获取初始化状态

🔓 无需鉴权

GET/api/setup

获取初始化状态

请求地址:http://localhost:3000/api/setup

🔓 无需鉴权

响应

状态码说明
200成功

初始化系统

🔓 无需鉴权

POST/api/setup

初始化系统

请求地址:http://localhost:3000/api/setup

🔓 无需鉴权

请求体

字段类型必填说明
usernamestring
passwordstring

响应

状态码说明
200成功

获取系统状态

🔓 无需鉴权

GET/api/status

获取系统状态

请求地址:http://localhost:3000/api/status

🔓 无需鉴权

响应

状态码说明
200成功

测试系统状态

👨‍💼 需要管理员权限(Admin)

GET/api/status/test

测试系统状态

请求地址:http://localhost:3000/api/status/test

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

获取Uptime Kuma状态

🔓 无需鉴权

GET/api/uptime/status

获取Uptime Kuma状态

请求地址:http://localhost:3000/api/uptime/status

🔓 无需鉴权

响应

状态码说明
200成功

获取用户协议

🔓 无需鉴权

GET/api/user-agreement

获取用户协议

请求地址:http://localhost:3000/api/user-agreement

🔓 无需鉴权

响应

状态码说明
200成功

获取所有Midjourney任务

👨‍💼 需要管理员权限(Admin)

GET/api/mj/

获取所有Midjourney任务

请求地址:http://localhost:3000/api/mj/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

获取个人Midjourney任务

🔐 需要登录(User权限)

GET/api/mj/self

获取个人Midjourney任务

请求地址:http://localhost:3000/api/mj/self

🔐 需要登录(User权限)

响应

状态码说明
200成功

获取所有任务

👨‍💼 需要管理员权限(Admin)

GET/api/task/

获取所有任务

请求地址:http://localhost:3000/api/task/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

获取个人任务

🔐 需要登录(User权限)

GET/api/task/self

获取个人任务

请求地址:http://localhost:3000/api/task/self

🔐 需要登录(User权限)

响应

状态码说明
200成功

批量删除令牌

🔐 需要登录(User权限)

POST/api/token/batch

批量删除令牌

请求地址:http://localhost:3000/api/token/batch

🔐 需要登录(User权限)

请求体

字段类型必填说明
idsarray

响应

状态码说明
200成功

获取所有令牌

🔐 需要登录(User权限)

GET/api/token/

获取所有令牌

请求地址:http://localhost:3000/api/token/

🔐 需要登录(User权限)

请求参数

名称位置必填说明
pquery
page_sizequery

响应

状态码说明
200成功

删除令牌

🔐 需要登录(User权限)

DELETE/api/token/{id}

删除令牌

请求地址:http://localhost:3000/api/token/{id}

🔐 需要登录(User权限)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

获取指定令牌

🔐 需要登录(User权限)

GET/api/token/{id}

获取指定令牌

请求地址:http://localhost:3000/api/token/{id}

🔐 需要登录(User权限)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

创建令牌

🔐 需要登录(User权限)

POST/api/token/

创建令牌

请求地址:http://localhost:3000/api/token/

🔐 需要登录(User权限)

响应

状态码说明
200成功

更新令牌

🔐 需要登录(User权限)

PUT/api/token/

更新令牌

请求地址:http://localhost:3000/api/token/

🔐 需要登录(User权限)

响应

状态码说明
200成功

搜索令牌

🔐 需要登录(User权限)

获取令牌使用情况

🔑 需要令牌认证(TokenAuth)

GET/api/usage/token/

获取令牌使用情况

请求地址:http://localhost:3000/api/usage/token/

🔑 需要令牌认证(TokenAuth)

请求参数

名称位置必填说明
Authorizationheader

响应

状态码说明
200成功

重新生成备用码

🔐 需要登录(User权限)

POST/api/user/2fa/backup_codes

重新生成备用码

请求地址:http://localhost:3000/api/user/2fa/backup_codes

🔐 需要登录(User权限)

响应

状态码说明
200成功

禁用2FA

🔐 需要登录(User权限)

POST/api/user/2fa/disable

禁用2FA

请求地址:http://localhost:3000/api/user/2fa/disable

🔐 需要登录(User权限)

请求体

字段类型必填说明
codestring

响应

状态码说明
200成功

启用2FA

🔐 需要登录(User权限)

POST/api/user/2fa/enable

启用2FA

请求地址:http://localhost:3000/api/user/2fa/enable

🔐 需要登录(User权限)

请求体

字段类型必填说明
codestring

响应

状态码说明
200成功

设置2FA

🔐 需要登录(User权限)

POST/api/user/2fa/setup

设置2FA

请求地址:http://localhost:3000/api/user/2fa/setup

🔐 需要登录(User权限)

响应

状态码说明
200成功

获取2FA统计

👨‍💼 需要管理员权限(Admin)

GET/api/user/2fa/stats

获取2FA统计

请求地址:http://localhost:3000/api/user/2fa/stats

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

获取2FA状态

🔐 需要登录(User权限)

GET/api/user/2fa/status

获取2FA状态

请求地址:http://localhost:3000/api/user/2fa/status

🔐 需要登录(User权限)

响应

状态码说明
200成功

发送密码重置邮件

🔓 无需鉴权

GET/api/reset_password

发送密码重置邮件

请求地址:http://localhost:3000/api/reset_password

🔓 无需鉴权

请求参数

名称位置必填说明
emailquery

响应

状态码说明
200成功

获取用户分组列表

🔓 无需鉴权

GET/api/user/groups

获取用户分组列表

请求地址:http://localhost:3000/api/user/groups

🔓 无需鉴权

响应

状态码说明
200成功

两步验证登录

🔓 无需鉴权(登录流程)

POST/api/user/login/2fa

两步验证登录

请求地址:http://localhost:3000/api/user/login/2fa

🔓 无需鉴权(登录流程)

请求体

字段类型必填说明
codestring

响应

状态码说明
200成功

用户登录

🔓 无需鉴权

POST/api/user/login

用户登录

请求地址:http://localhost:3000/api/user/login

🔓 无需鉴权

请求体

字段类型必填说明
usernamestring
passwordstring

响应

状态码说明
200成功

用户登出

🔓 无需鉴权

GET/api/user/logout

用户登出

请求地址:http://localhost:3000/api/user/logout

🔓 无需鉴权

响应

状态码说明
200成功

开始Passkey登录

🔓 无需鉴权

POST/api/user/passkey/login/begin

开始Passkey登录

请求地址:http://localhost:3000/api/user/passkey/login/begin

🔓 无需鉴权

响应

状态码说明
200成功

完成Passkey登录

🔓 无需鉴权

POST/api/user/passkey/login/finish

完成Passkey登录

请求地址:http://localhost:3000/api/user/passkey/login/finish

🔓 无需鉴权

响应

状态码说明
200成功

用户注册

🔓 无需鉴权

POST/api/user/register

用户注册

请求地址:http://localhost:3000/api/user/register

🔓 无需鉴权

请求体

字段类型必填说明
usernamestring
passwordstring
emailstring
verification_codestring
aff_codestring

响应

状态码说明
200成功

重置密码

🔓 无需鉴权

POST/api/user/reset

重置密码

请求地址:http://localhost:3000/api/user/reset

🔓 无需鉴权

请求体

字段类型必填说明
emailstring
tokenstring
passwordstring

响应

状态码说明
200成功

发送邮箱验证码

🔓 无需鉴权

GET/api/verification

发送邮箱验证码

请求地址:http://localhost:3000/api/verification

🔓 无需鉴权

请求参数

名称位置必填说明
emailquery

响应

状态码说明
200成功

转换邀请额度

🔐 需要登录(User权限)

POST/api/user/aff_transfer

转换邀请额度

请求地址:http://localhost:3000/api/user/aff_transfer

🔐 需要登录(User权限)

请求体

字段类型必填说明
quotainteger

响应

状态码说明
200成功

获取邀请码

🔐 需要登录(User权限)

GET/api/user/aff

获取邀请码

请求地址:http://localhost:3000/api/user/aff

🔐 需要登录(User权限)

响应

状态码说明
200成功

获取所有用户

👨‍💼 需要管理员权限(Admin)

GET/api/user/

获取所有用户

请求地址:http://localhost:3000/api/user/

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
pquery
page_sizequery

响应

状态码说明
200成功

管理员禁用用户2FA

👨‍💼 需要管理员权限(Admin)

DELETE/api/user/{id}/2fa

管理员禁用用户2FA

请求地址:http://localhost:3000/api/user/{id}/2fa

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

删除用户

👨‍💼 需要管理员权限(Admin)

DELETE/api/user/{id}

删除用户

请求地址:http://localhost:3000/api/user/{id}

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

获取指定用户

👨‍💼 需要管理员权限(Admin)

GET/api/user/{id}

获取指定用户

请求地址:http://localhost:3000/api/user/{id}

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

管理员重置用户Passkey

👨‍💼 需要管理员权限(Admin)

DELETE/api/user/{id}/reset_passkey

管理员重置用户Passkey

请求地址:http://localhost:3000/api/user/{id}/reset_passkey

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

管理用户状态

👨‍💼 需要管理员权限(Admin)

POST/api/user/manage

管理用户状态

请求地址:http://localhost:3000/api/user/manage

👨‍💼 需要管理员权限(Admin)

请求体

字段类型必填说明
idinteger
actionstring

响应

状态码说明
200成功

获取用户可用模型

🔐 需要登录(User权限)

GET/api/user/models

获取用户可用模型

请求地址:http://localhost:3000/api/user/models

🔐 需要登录(User权限)

响应

状态码说明
200成功

删除Passkey

🔐 需要登录(User权限)

DELETE/api/user/passkey

删除Passkey

请求地址:http://localhost:3000/api/user/passkey

🔐 需要登录(User权限)

响应

状态码说明
200成功

获取Passkey状态

🔐 需要登录(User权限)

GET/api/user/passkey

获取Passkey状态

请求地址:http://localhost:3000/api/user/passkey

🔐 需要登录(User权限)

响应

状态码说明
200成功

开始注册Passkey

🔐 需要登录(User权限)

POST/api/user/passkey/register/begin

开始注册Passkey

请求地址:http://localhost:3000/api/user/passkey/register/begin

🔐 需要登录(User权限)

响应

状态码说明
200成功

完成注册Passkey

🔐 需要登录(User权限)

POST/api/user/passkey/register/finish

完成注册Passkey

请求地址:http://localhost:3000/api/user/passkey/register/finish

🔐 需要登录(User权限)

响应

状态码说明
200成功

开始验证Passkey

🔐 需要登录(User权限)

POST/api/user/passkey/verify/begin

开始验证Passkey

请求地址:http://localhost:3000/api/user/passkey/verify/begin

🔐 需要登录(User权限)

响应

状态码说明
200成功

完成验证Passkey

🔐 需要登录(User权限)

POST/api/user/passkey/verify/finish

完成验证Passkey

请求地址:http://localhost:3000/api/user/passkey/verify/finish

🔐 需要登录(User权限)

响应

状态码说明
200成功

创建用户

👨‍💼 需要管理员权限(Admin)

POST/api/user/

创建用户

请求地址:http://localhost:3000/api/user/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

更新用户

👨‍💼 需要管理员权限(Admin)

PUT/api/user/

更新用户

请求地址:http://localhost:3000/api/user/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

搜索用户

👨‍💼 需要管理员权限(Admin)

注销当前用户

🔐 需要登录(User权限)

DELETE/api/user/self

注销当前用户

请求地址:http://localhost:3000/api/user/self

🔐 需要登录(User权限)

响应

状态码说明
200成功

获取当前用户信息

🔐 需要登录(User权限)

GET/api/user/self

获取当前用户信息

请求地址:http://localhost:3000/api/user/self

🔐 需要登录(User权限)

响应

状态码说明
200成功

获取当前用户分组

🔐 需要登录(User权限)

GET/api/user/self/groups

获取当前用户分组

请求地址:http://localhost:3000/api/user/self/groups

🔐 需要登录(User权限)

响应

状态码说明
200成功

更新当前用户信息

🔐 需要登录(User权限)

PUT/api/user/self

更新当前用户信息

请求地址:http://localhost:3000/api/user/self

🔐 需要登录(User权限)

请求体

字段类型必填说明
usernamestring
display_namestring
passwordstring
original_passwordstring

响应

状态码说明
200成功

更新用户设置

🔐 需要登录(User权限)

PUT/api/user/setting

更新用户设置

请求地址:http://localhost:3000/api/user/setting

🔐 需要登录(User权限)

请求体

字段类型必填说明
notify_typestring
quota_warning_thresholdnumber
webhook_urlstring
notification_emailstring

响应

状态码说明
200成功

生成访问令牌

🔐 需要登录(User权限)

GET/api/user/token

生成访问令牌

请求地址:http://localhost:3000/api/user/token

🔐 需要登录(User权限)

响应

状态码说明
200成功

管理员完成充值

👨‍💼 需要管理员权限(Admin)

POST/api/user/topup/complete

管理员完成充值

请求地址:http://localhost:3000/api/user/topup/complete

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

获取所有充值记录

👨‍💼 需要管理员权限(Admin)

GET/api/user/topup

获取所有充值记录

请求地址:http://localhost:3000/api/user/topup

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

获取所有供应商

👨‍💼 需要管理员权限(Admin)

GET/api/vendors/

获取所有供应商

请求地址:http://localhost:3000/api/vendors/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

删除供应商

👨‍💼 需要管理员权限(Admin)

DELETE/api/vendors/{id}

删除供应商

请求地址:http://localhost:3000/api/vendors/{id}

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

获取指定供应商

👨‍💼 需要管理员权限(Admin)

GET/api/vendors/{id}

获取指定供应商

请求地址:http://localhost:3000/api/vendors/{id}

👨‍💼 需要管理员权限(Admin)

请求参数

名称位置必填说明
idpath

响应

状态码说明
200成功

创建供应商

👨‍💼 需要管理员权限(Admin)

POST/api/vendors/

创建供应商

请求地址:http://localhost:3000/api/vendors/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

更新供应商

👨‍💼 需要管理员权限(Admin)

PUT/api/vendors/

更新供应商

请求地址:http://localhost:3000/api/vendors/

👨‍💼 需要管理员权限(Admin)

响应

状态码说明
200成功

搜索供应商

👨‍💼 需要管理员权限(Admin)