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

18 lines
315 B

  1. package sms
  2. import (
  3. "testing"
  4. )
  5. func Test_SendByWo(t *testing.T) {
  6. cpcode := "AACDUZ"
  7. key := "c1a4245d51ad7315e7c1bb5d80eb98b0"
  8. excode := "750058"
  9. msg := "345678"
  10. mobiles := "18607565510"
  11. templetId := "290901"
  12. ret, err := SendByWo(cpcode, key, excode, mobiles, templetId, msg)
  13. t.Log(ret)
  14. t.Log(err)
  15. }