feat: 长文本语音合成
This commit is contained in:
@@ -15,4 +15,5 @@ type Config struct {
|
||||
|
||||
MiniProgram MiniProgram `mapstructure:"mini-program" json:"mini-program" yaml:"mini-program"` //小程序
|
||||
WechatPay WechatPay `mapstructure:"wechat-pay" json:"wechat-pay" yaml:"wechat-pay"` //微信支付
|
||||
TTS TTS `mapstructure:"tencent-tts" json:"tencent-tts" yaml:"tencent-tts"` //腾讯文字转语音
|
||||
}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
package config
|
||||
|
||||
type TTS struct {
|
||||
AppId string `mapstructure:"app-id" json:"app-id" yaml:"app-id"`
|
||||
SecretId string `mapstructure:"secret-id" json:"secret-id" yaml:"secret-id"`
|
||||
SecretKey string `mapstructure:"secret-key" json:"secret-key" yaml:"secret-key"`
|
||||
}
|
||||
Reference in New Issue
Block a user