From 3eb829393c22b975b9ca7e0e022150d4cafa9bd1 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 16 五月 2024 15:29:32 +0800 Subject: [PATCH] 增加音频详情接口,返回解析的文字 --- models/audio.go | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/models/audio.go b/models/audio.go index 45331be..842f8e9 100644 --- a/models/audio.go +++ b/models/audio.go @@ -24,6 +24,8 @@ OccurrenceTime string `json:"occurrenceTime" gorm:"-"` IsFollowed constvar.BoolType `gorm:"type:tinyint;not null;default:2;comment:鏄惁鍏虫敞"` //鏄惁鍏虫敞 1鍏虫敞 2鏈叧娉� Score float64 `json:"score"` // 缃俊搴� + Words []string `json:"words" gorm:"-"` //鍖归厤鍒扮殑鏂囧瓧鏁扮粍 + AudioText string `json:"audioText" gorm:"-"` //瑙f瀽鍑虹殑鏂囨湰 } AudioSearch struct { -- Gitblit v1.8.0