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

  1. package sms
  2. import (
  3. "testing"
  4. )
  5. func Test_SendByCL(t *testing.T) {
  6. msg := "罗您好,您的商店新增2单物理灭蚊仪-天眼款,请及时登录商家后台处理!"
  7. ret, reply, err := SendByCL("", "", "18607565510", "平沙数字云店", msg)
  8. t.Log(ret)
  9. t.Log(reply)
  10. t.Log(err)
  11. }
  12. func Test_QueryRemaining(t *testing.T) {
  13. ret, total, reply, err := QueryRemaining("", "")
  14. t.Log(ret)
  15. t.Log(total)
  16. t.Log(reply)
  17. t.Log(err)
  18. }