feat: add reader endpoint and update TTS link generation with display name

This commit is contained in:
王锦强
2025-03-16 23:29:16 +08:00
parent 1cc4ef556c
commit ebb7e2b292
5 changed files with 99 additions and 5 deletions

View File

@@ -23,3 +23,10 @@ type OpenAIRequest struct {
Voice string `json:"voice"`
Speed float64 `json:"speed"`
}
// ReaderResponse reader 响应结构体
type ReaderResponse struct {
Id int64 `json:"id"`
Name string `json:"name"`
Url string `json:"url"`
}