From b75533f57d9aaa70635e5c2a03f85070953b31d4 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Thu, 26 Aug 2021 18:36:02 +0800 Subject: [PATCH] aa --- business/jxstore/tempop/tempop.go | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index fcf30ab5e..4e5cca759 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -4,7 +4,8 @@ import ( "bytes" "context" "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" "regexp" "strconv" @@ -1986,9 +1987,17 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { // } // go connHandler(conn, "1e000f02000151323032313036313530303030313"+utils.Int2Str(i)+"00000033") //} - act.RrefreshMtwmVendorAct() - //act.RrefreshEbaiVendorAct() - return err + mobileNum := "18160030913" + templateParam := map[string]interface{}{ + "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 {