alis

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliCloud

type AliCloud struct {
	DayuSms *DayuSms
	// contains filtered or unexported fields
}

type AliCloudOption

type AliCloudOption struct {
	AccessKeyId     string `json:"access_key_id"`
	AccessKeySecret string `json:"access_key_secret"`
}

type DayuOption

type DayuOption struct {
	AccessKeyId     string
	AccessKeySecret string
	OwnerAccount    string
	OwnerId         int
}

type DayuSms

type DayuSms struct {
	// contains filtered or unexported fields
}

func NewDayuSms

func NewDayuSms(option DayuOption) *DayuSms

func (*DayuSms) GetClient

func (d *DayuSms) GetClient() (*dysmsapi20170525.Client, error)

func (*DayuSms) SendSms

func (d *DayuSms) SendSms(phone, signName, templateCode, templateParam string) (bool, error)

SendSms 发送短信信息

Jump to

Keyboard shortcuts

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