This commit is contained in:
邹宗楠
2023-04-21 12:41:50 +08:00
parent 3f6ab1bd91
commit 5331dcd4c5
3 changed files with 7 additions and 7 deletions

View File

@@ -17,12 +17,12 @@ func init() {
}
func TestSendSMSMsg(t *testing.T) {
err := SendVoiceMsg([]string{"18981810340"}, "tts_222871733", map[string]interface{}{
"tel": "18981810340",
})
aa := map[string]interface{}{"tel": "13957767601"}
//err := SendVoiceMsg([]string{"18981810340"}, "tts_222871733", map[string]interface{}{
// "tel": "18981810340",
//})
aa := map[string]interface{}{"tel": "18981810340"}
request := &dyvmsapiclient.SingleCallByTtsRequest{
CalledNumber: tea.String("13957767601"),
CalledNumber: tea.String("18981810340"),
TtsCode: tea.String("tts_222871733"),
TtsParam: tea.String(string(utils.MustMarshal(aa))),
}