短信发送方法
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
447 B

package sms
import (
"testing"
)
func Test_SendByCL(t *testing.T) {
msg := "罗您好,您的商店新增2单物理灭蚊仪-天眼款,请及时登录商家后台处理!"
ret, reply, err := SendByCL("", "", "18607565510", "平沙数字云店", msg)
t.Log(ret)
t.Log(reply)
t.Log(err)
}
func Test_QueryRemaining(t *testing.T) {
ret, total, reply, err := QueryRemaining("", "")
t.Log(ret)
t.Log(total)
t.Log(reply)
t.Log(err)
}