feat: 音色管理
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
package response
|
||||
|
||||
import "sundynix-go/model/system"
|
||||
|
||||
// VoiceResponse 音色响应
|
||||
type VoiceResponse struct {
|
||||
Id string `json:"id"`
|
||||
SpeakerId string `json:"speakerId"`
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
Gender string `json:"gender"`
|
||||
Icon string `json:"icon"`
|
||||
AudioId string `json:"audioId"`
|
||||
Audio *system.Oss `json:"audio"` // 试听音频OSS
|
||||
Sort int `json:"sort"`
|
||||
Status int `json:"status"`
|
||||
IsDefault int `json:"isDefault"`
|
||||
UseCount int `json:"useCount"`
|
||||
}
|
||||
|
||||
// VoiceDetailResponse 音色详情响应
|
||||
type VoiceDetailResponse struct {
|
||||
Id string `json:"id"`
|
||||
SpeakerId string `json:"speakerId"`
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
Gender string `json:"gender"`
|
||||
Icon string `json:"icon"`
|
||||
AudioId string `json:"audioId"`
|
||||
Audio *system.Oss `json:"audio"` // 试听音频OSS
|
||||
Sort int `json:"sort"`
|
||||
Status int `json:"status"`
|
||||
IsDefault int `json:"isDefault"`
|
||||
UseCount int `json:"useCount"`
|
||||
CreateTime string `json:"createTime"`
|
||||
UpdateTime string `json:"updateTime"`
|
||||
}
|
||||
Reference in New Issue
Block a user