fix(security): 移除硬编码凭据并强化API密钥验证

feat(performance): 实现HTTP连接池复用和速率限制

refactor: 优化统计数据结构为环形缓冲区

docs: 添加安全与性能修复报告和Windows部署指南

chore: 清理未使用的依赖并更新依赖版本
This commit is contained in:
sun
2026-05-09 17:43:20 +08:00
parent 7c6e6af08a
commit 4450d1faf4
8 changed files with 1186 additions and 241 deletions
@@ -0,0 +1,38 @@
# Windows 部署指南
本指南适用于在Windows系统上部署和测试ByteDance TTS to OpenAI API Adapter。
---
## 📋 前置要求
- **Windows 10/11** 或 **Windows Server 2016+**
- **Go 1.19+**(必需,用于编译项目)
- 网络连接(用于下载Go依赖和调用字节跳动TTS API)
---
## 🚀 快速开始(3步启动)
### 第1步:构建项目
在项目目录打开PowerShell,运行:
```powershell
# 运行部署脚本
.\deploy_windows.ps1
```
或者手动构建:
```powershell
go build -o tts-server.exe tts_server_linux.go
```
### 第2步:启动服务(两种方式)
#### 方式A:演示模式(推荐,无需真实配置)
适用于快速测试服务能否正常启动:
```powershell