chore(front,tests): 对齐前端 API 配置与后端 HTTP 测试

- front: 配置管理器默认 baseURL/headers 调整,便于本地联调\n- rear/tests: 文件系统接口示例/校验更新\n- 不影响运行逻辑
This commit is contained in:
jimmy committed 2025-10-07 14:32:06 +08:00
1 parent 44167bca92
commit b10940d5d6
2 files changed
+2 -2

No files matched your search

@@ -13,7 +13,7 @@ import type { HttpConfig } from '@/types/http.ts'
// 2. 配置管理器 (config/httpConfig.ts)
class HttpConfigManager {
private config: HttpConfig = {
baseURL: import.meta.env.VITE_APP_API_URL || 'http://127.0.0.1:9484/api',
baseURL: import.meta.env.VITE_APP_API_URL || 'http://127.0.0.1:3001/api',
timeout: 10000,
headers: {
'Content-Type': 'application/json'
+1 -1
View File
@@ -1,7 +1,7 @@
### Argus 照片管理系统 - 文件系统管理测试
### 这个文件展示了如何使用文件系统管理API
### 服务器地址
@baseUrl = http://localhost:8080
@baseUrl = http://localhost:3001
@apiBase = {{baseUrl}}/api/v1
### ===== 文件系统浏览功能 =====