短信rpc
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
320 B

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