ddsms

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DDY

type DDY struct {
	ApiKey string
	YzmUrl string
	TzUrl  string
}
var DefaultDDY DDY

func (*DDY) Init

func (this *DDY) Init(apikey string)

func (*DDY) SendTz

func (this *DDY) SendTz(umoblie []string, tpt string, data map[string]string) (bool, error)

发送通知

func (*DDY) SendYZM

func (this *DDY) SendYZM(umoblie string, tpt string, data map[string]string) (bool, error)

发送短信验证码 code验证码如:123456 返回true表示发送成功flase表示发送失败

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL