短信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.

22 lines
557 B

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. package smsrpc
  2. var DES_KEY = "smszgi22"
  3. type WoParam struct {
  4. Cpcode string `json:"cpcode"`
  5. Msg string `json:"msg"`
  6. Mobiles string `json:"mobiles"`
  7. Excode string `json:"excode"`
  8. TempletId string `json:"templetid"`
  9. Key string `json:"key"`
  10. }
  11. type TencentParam struct {
  12. SecretId string `json:"secretId"`
  13. SecretKey string `json:"secretKey"`
  14. SmsAppId string `json:"smsAppId"`
  15. Signname string `json:"signname"`
  16. Mobiles string `json:"mobiles"`
  17. TemplateId string `json:"templateId"`
  18. Params string `json:"params"`
  19. }