短信发送方法
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.

24 lines
516 B

package sms
import (
"testing"
)
func Test_SendByCL(t *testing.T) {
msg := "罗您好,您的商店新增2单物理灭蚊仪-天眼款,请及时登录商家后台处理!"
//ret, reply, err := SendByCL("", "", "13631270978", "平沙数字云店", msg)
ret, reply, err := SendByCL("", "", "13631270978", "园圈", 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)
}