Documentation ¶
Overview ¶
*
- Copyright 2015 @ z3q.net.
- name : sms
- author : jarryliu
- date : 2016-06-14 09:52
- description : 接口中的参数均以模板和数据形式出现
- history :
Index ¶
- Constants
- func AppendCheckPhoneParams(provider int, param map[string]interface{}) map[string]interface{}
- func CheckSmsApiPerm(provider int, s *valueobject.SmsApiPerm) error
- func EncodingTransform(src []byte, enc string) ([]byte, error)
- func SendSms(provider int, appKey, appSecret, phoneNum string, apiUrl string, enc string, ...) error
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 int, s *valueobject.SmsApiPerm) error
检查API接口数据是否正确
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.