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

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