Documentation ¶
Overview ¶
*
- Copyright 2015 @ 56x.net.
- name : sms
- author : jarryliu
- date : 2016-06-14 09:52
- description : 接口中的参数均以模板和数据形式出现
- history :
Index ¶
- Constants
- func AppendCheckPhoneParams(provider string, param map[string]interface{}) map[string]interface{}
- func CheckSmsApiPerm(provider string, s *notify.SmsApiPerm) error
- func EncodingTransform(src []byte, enc string) ([]byte, error)
- func SendSms(provider string, api *SmsApi, phoneNum string, content string, ...) error
- type SmsApi
Constants ¶
View Source
const ( SmsHttp = 1 // HTTP SmsAli = 2 //阿里大鱼 SmsCl253 = 3 //创蓝253 )
Variables ¶
This section is empty.
Functions ¶
func AppendCheckPhoneParams ¶
附加检查手机短信的参数
func CheckSmsApiPerm ¶
func CheckSmsApiPerm(provider string, s *notify.SmsApiPerm) error
检查API接口数据是否正确
Types ¶
Click to show internal directories.
Click to hide internal directories.