- 新订单时,发送短信消息

This commit is contained in:
gazebo
2019-09-06 10:16:09 +08:00
parent a393869612
commit 0fbe4d7024
4 changed files with 116 additions and 31 deletions

View File

@@ -0,0 +1,21 @@
package smsmsg
import (
"testing"
"git.rosy.net.cn/jx-callback/globals/testinit"
)
func init() {
testinit.Init()
// api2.Init()
}
func TestSendSMSMsg(t *testing.T) {
err := SendSMSMsg([]string{"18180948107"}, "京西菜市", "SMS_84655036", map[string]interface{}{
"code": 123456,
})
if err != nil {
t.Fatal(err)
}
}