final version

This commit is contained in:
2026-02-18 23:39:39 +08:00
parent 72ab0c0b56
commit 32d0bca5f9
3975 changed files with 781 additions and 1106509 deletions

View File

@@ -27,7 +27,7 @@ const AlgorithmShowcaseClient = require('algorithm-showcase-sdk');
// 初始化客户端
const client = new AlgorithmShowcaseClient(
'http://localhost:8000/api/v1', // API基础URL
'http://localhost:8001/api/v1', // API基础URL
'your-api-key' // 可选API密钥
);
```

View File

@@ -13,7 +13,7 @@ class AlgorithmShowcaseClient {
* @param {string} baseUrl - API基础URL
* @param {string} apiKey - API密钥
*/
constructor(baseUrl = 'http://localhost:8000/api/v1', apiKey = null) {
constructor(baseUrl = 'http://localhost:8001/api/v1', apiKey = null) {
this.baseUrl = baseUrl.replace(/\/$/, '');
this.apiKey = apiKey;