feat: improve backtest system and add OpenRouter balance query

This commit is contained in:
TIANHE
2026-01-12 04:01:17 +08:00
parent 5a4c770279
commit bd5db753df
11 changed files with 1996 additions and 413 deletions
+10
View File
@@ -44,3 +44,13 @@ export function testConnection (service, params = {}) {
data: { service, ...params }
})
}
/**
* 查询 OpenRouter 账户余额
*/
export function getOpenRouterBalance () {
return request({
url: '/api/settings/openrouter-balance',
method: 'get'
})
}