()
| 783 | * 获取 API Key 列表 |
| 784 | */ |
| 785 | export async function getAPIKeys(): Promise<PluginAPIKey[]> { |
| 786 | return fetchWithAuth<PluginAPIKey[]>( |
| 787 | `${API_BASE_URL}/api/api-keys`, |
| 788 | { method: 'GET' } |
| 789 | ); |
| 790 | } |
| 791 | |
| 792 | /** |
| 793 | * 获取 API Key 信息(兼容旧代码) |
no test coverage detected