1
This commit is contained in:
@@ -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))),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user