feat: 添加HTTP接口支持Postman测试
- 添加 tiny_http 依赖用于HTTP服务器 - 守护进程自动启动HTTP服务器(端口=TCP端口+1) - 添加 /synthesize 接口(POST) - 添加 /health 健康检查接口(GET) - 测试通过: curl 和 mimo-tts send 命令
This commit is contained in:
@@ -35,3 +35,5 @@ tokio-util = "0.7"
|
||||
dirs = "5.0"
|
||||
# 日期时间处理(日志时间戳)
|
||||
chrono = "0.4"
|
||||
# 轻量级 HTTP 服务器(用于调试接口)
|
||||
tiny_http = "0.12"
|
||||
|
||||
Reference in New Issue
Block a user