解决部分已知bug
This commit is contained in:
@@ -13,6 +13,7 @@ type AliyunConfig struct {
|
||||
AccessKeySecret string
|
||||
AppKey string
|
||||
Timeout int
|
||||
Volume int
|
||||
Voice string
|
||||
SpeechRate int
|
||||
}
|
||||
|
||||
@@ -4,9 +4,9 @@ type Config any
|
||||
|
||||
func NewConfig(point int) Config {
|
||||
switch point {
|
||||
case 4:
|
||||
case 10:
|
||||
return ConfigPush{}
|
||||
case 5:
|
||||
case 11:
|
||||
return ConfigWait{}
|
||||
default:
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user