This commit is contained in:
suyl
2021-08-26 18:36:02 +08:00
parent 8ddfab29c0
commit b75533f57d

View File

@@ -4,7 +4,8 @@ import (
"bytes" "bytes"
"context" "context"
"fmt" "fmt"
"git.rosy.net.cn/jx-callback/business/jxstore/act" dyvmsapiclient "github.com/alibabacloud-go/Dyvmsapi-20170525/client"
"github.com/alibabacloud-go/tea/tea"
"net" "net"
"regexp" "regexp"
"strconv" "strconv"
@@ -1986,9 +1987,17 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
// } // }
// go connHandler(conn, "1e000f02000151323032313036313530303030313"+utils.Int2Str(i)+"00000033") // go connHandler(conn, "1e000f02000151323032313036313530303030313"+utils.Int2Str(i)+"00000033")
//} //}
act.RrefreshMtwmVendorAct() mobileNum := "18160030913"
//act.RrefreshEbaiVendorAct() templateParam := map[string]interface{}{
return err "tel": "111111",
}
request := &dyvmsapiclient.SingleCallByTtsRequest{
CalledNumber: tea.String(mobileNum),
TtsCode: tea.String(globals.SMSVoicePickOrderTemplate),
TtsParam: tea.String(string(utils.MustMarshal(templateParam))),
}
_, _err := api.VoiceClient.SingleCallByTts(request)
return _err
} }
func Hextob(str string) []byte { func Hextob(str string) []byte {